summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/devtools.nix20
1 files changed, 20 insertions, 0 deletions
diff --git a/modules/devtools.nix b/modules/devtools.nix
new file mode 100644
index 0000000..a21df41
--- /dev/null
+++ b/modules/devtools.nix
@@ -0,0 +1,20 @@
+{ pkgs, inputs, ... }: {
+
+ nixpkgs.overlays = [
+ inputs.fenix.overlay
+ inputs.emacs-overlay.overlay
+ ];
+ environment.systemPackages = with pkgs; [
+ # rust
+ (inputs.fenix.packages."x86_64-linux".stable.withComponents [
+ "cargo"
+ "clippy"
+ "rust-src"
+ "rustc"
+ "rustfmt"
+ ])
+ rust-analyzer-nightly
+ # nix
+ rnix-lsp
+ ];
+}