-{ pkgs, inputs, system, nixpkgsPath, ... }:
+{ pkgs, inputs, system, nixpkgsPath, shellHook ? "", ... }:
pkgs.mkShell {
name = "shell";
src = null;
#preferLocalBuild = true;
#allowSubstitutes = false;
buildInputs = [
- (pkgs.nixos []).nixos-install
+ (pkgs.nixos [ ]).nixos-install
+ pkgs.gnumake
+ pkgs.gptfdisk
+ pkgs.gnupg
+ pkgs.pinentry-curses
];
#enableParallelBuilding = true;
NIX_PATH = pkgs.lib.concatStringsSep ":" [
PATH="${inputs.home-manager.defaultPackage.${system}}/bin:$PATH"
PASSWORD_STORE_DIR=$PWD
nix-store --add-root nixpkgs.root --indirect --realise ${nixpkgsPath}
+ ${shellHook}
'';
}