added rust and nix devShells

This commit is contained in:
ISnortPennies 2023-02-08 19:45:57 -05:00
parent a1d83233cf
commit c5d0fd4cbf

View file

@ -44,7 +44,15 @@
]; ];
}; };
in { 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 = { nixosConfigurations = {
gerg-desktop = lib.nixosSystem { gerg-desktop = lib.nixosSystem {
inherit system pkgs; inherit system pkgs;