hosts: add nixpkgs to NIX_PATH
This commit is contained in:
parent
acde966df4
commit
fc082b5b0d
|
@ -43,11 +43,11 @@ let
|
||||||
hardware.enableRedistributableFirmware = lib.mkDefault true;
|
hardware.enableRedistributableFirmware = lib.mkDefault true;
|
||||||
|
|
||||||
networking.hostName = hostName;
|
networking.hostName = hostName;
|
||||||
nix.nixPath = let path = toString ../.; in
|
nix.nixPath = [
|
||||||
[
|
"nixos-unstable=${master}"
|
||||||
"nixos-unstable=${master}"
|
"nixos=${nixos}"
|
||||||
"nixos=${nixos}"
|
"nixpkgs=${nixos}"
|
||||||
];
|
];
|
||||||
|
|
||||||
nixpkgs = { inherit pkgs; };
|
nixpkgs = { inherit pkgs; };
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue