1 { pkgs, inputs, system, nixpkgsPath, shellHook ? "", ... }:
5 #preferLocalBuild = true;
6 #allowSubstitutes = false;
8 (pkgs.nixos [ ]).nixos-install
16 #enableParallelBuilding = true;
17 NIX_PATH = pkgs.lib.concatStringsSep ":" [
18 "nixpkgs=${nixpkgsPath}"
19 "nixpkgs-overlays=${builtins.path { path = inputs.self + "/nixpkgs"; }}/overlays.nix"
20 "home-manager=${inputs.home-manager}"
23 echo >&2 "nix: running shellHook"
24 PATH="${inputs.home-manager.defaultPackage.${system}}/bin:$PATH"
25 PASSWORD_STORE_DIR=$PWD
26 nix-store --add-root nixpkgs.root --indirect --realise ${nixpkgsPath}