mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
added rust and nix devShells
This commit is contained in:
parent
a1d83233cf
commit
c5d0fd4cbf
1 changed files with 9 additions and 1 deletions
10
flake.nix
10
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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue