add dev shell

This commit is contained in:
Peder Bergebakken Sundt 2023-02-26 21:28:44 +01:00
parent 107c8b901e
commit 8812a3b93c
3 changed files with 11 additions and 0 deletions

1
.envrc Normal file
View File

@ -0,0 +1 @@
use nix

View File

@ -66,5 +66,8 @@
modules = [ ./users/pbsds/home ]; modules = [ ./users/pbsds/home ];
}; };
}); });
devShells = forAllSystems (system: {
default = nixpkgs.legacyPackages.${system}.callPackage ./shell.nix { };
});
}; };
} }

7
shell.nix Normal file
View File

@ -0,0 +1,7 @@
{ pkgs ? import <nixpkgs> {} }:
pkgs.mkShell {
packages = with pkgs; [
#buildInputs = with pkgs; [
nixos-rebuild
];
}