Merge pull request #108 from nrdxp/fix-nixpath

hosts: add nixpkgs to NIX_PATH
This commit is contained in:
Timothy DeHerrera 2021-02-01 09:58:03 -07:00 committed by GitHub
commit 7fed7e7392
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -43,11 +43,11 @@ let
hardware.enableRedistributableFirmware = lib.mkDefault true;
networking.hostName = hostName;
nix.nixPath = let path = toString ../.; in
[
"nixos-unstable=${master}"
"nixos=${nixos}"
];
nix.nixPath = [
"nixos-unstable=${master}"
"nixos=${nixos}"
"nixpkgs=${nixos}"
];
nixpkgs = { inherit pkgs; };