diff --git a/.envrc b/.envrc new file mode 100644 index 0000000..1d953f4 --- /dev/null +++ b/.envrc @@ -0,0 +1 @@ +use nix diff --git a/flake.nix b/flake.nix index 71c0106..3464b00 100644 --- a/flake.nix +++ b/flake.nix @@ -66,5 +66,8 @@ modules = [ ./users/pbsds/home ]; }; }); + devShells = forAllSystems (system: { + default = nixpkgs.legacyPackages.${system}.callPackage ./shell.nix { }; + }); }; } diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..c2b3a6b --- /dev/null +++ b/shell.nix @@ -0,0 +1,7 @@ +{ pkgs ? import {} }: +pkgs.mkShell { + packages = with pkgs; [ + #buildInputs = with pkgs; [ + nixos-rebuild + ]; +}