From 3996f63789147cabec2b8deddab76df93ec3d9a7 Mon Sep 17 00:00:00 2001 From: Grigory Shipunov Date: Mon, 3 Oct 2022 13:16:02 +0200 Subject: devtools: init --- modules/devtools.nix | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 modules/devtools.nix (limited to 'modules/devtools.nix') 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 + ]; +} -- cgit v1.3.1