aboutsummaryrefslogtreecommitdiff
path: root/devenv.nix
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--devenv.nix21
1 files changed, 21 insertions, 0 deletions
diff --git a/devenv.nix b/devenv.nix
new file mode 100644
index 0000000..0f4c1df
--- /dev/null
+++ b/devenv.nix
@@ -0,0 +1,21 @@
+{ pkgs, ... }:
+
+{
+ languages.rust = {
+ enable = true;
+ channel = "stable";
+ components = [
+ "rustfmt"
+ "clippy"
+ ];
+ };
+
+ packages = with pkgs; [
+ cargo
+ rust-analyzer
+ ];
+
+ enterShell = ''
+ echo "mmx150d dev shell"
+ '';
+}