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