Merge pull request #108 from nrdxp/fix-nixpath
hosts: add nixpkgs to NIX_PATH
This commit is contained in:
commit
7fed7e7392
@ -43,10 +43,10 @@ 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 New Issue
Block a user