From c5d0fd4cbf379c542523a30f11c20f1f0986dcee Mon Sep 17 00:00:00 2001 From: ISnortPennies Date: Wed, 8 Feb 2023 19:45:57 -0500 Subject: [PATCH] added rust and nix devShells --- flake.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index a75c88e..810e96e 100644 --- a/flake.nix +++ b/flake.nix @@ -44,7 +44,15 @@ ]; }; in { - formatter.x86_64-linux = pkgs.alejandra; + formatter.${system} = pkgs.alejandra; + devShells.${system} = { + nix = pkgs.mkShell { + packages = with pkgs; [nil alejandra deadnix statix]; + }; + rust = pkgs.mkShell { + packages = with pkgs; [rust-analyzer rustc cargo rustfmt clippy]; + }; + }; nixosConfigurations = { gerg-desktop = lib.nixosSystem { inherit system pkgs;