Add devShell and .envrc to activate via direnv

This commit is contained in:
Evie Litherland-Smith 2024-05-24 12:17:20 +01:00
parent c86bfe931a
commit 9eef068b8d
2 changed files with 7 additions and 0 deletions

1
.envrc Normal file
View file

@ -0,0 +1 @@
use flake

View file

@ -78,6 +78,12 @@
})
];
in {
devShells.x86_64-linux.default = let
pkgs = import nixpkgs {system = "x86_64-linux";};
in
pkgs.mkShellNoCC {
packages = [pkgs.nil];
};
nixosConfigurations = {
## Server
Legion = nixpkgs.lib.nixosSystem rec {