hosts: add nixpkgs to NIX_PATH

This commit is contained in:
Timothy DeHerrera 2021-02-01 09:56:33 -07:00
parent acde966df4
commit fc082b5b0d
No known key found for this signature in database
GPG key ID: 8985725DB5B0C122

View file

@ -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; };