Merge pull request #143 from lourkeur/fix_142

hosts: fix #142
This commit is contained in:
Timothy DeHerrera 2021-03-01 12:46:57 -07:00 committed by GitHub
commit fc1dddd181
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -64,7 +64,10 @@ let
nixos = { nixos = {
exact = true; exact = true;
from = nodes.nixos.original; from = {
id = "nixos";
type = "indirect";
};
to = { to = {
inherit (nixos) lastModified narHash rev; inherit (nixos) lastModified narHash rev;
@ -72,17 +75,6 @@ let
type = "path"; type = "path";
}; };
}; };
override = {
exact = true;
from = nodes.override.original;
to = {
inherit (override) lastModified narHash rev;
path = override.outPath;
type = "path";
};
};
}; };
system.configurationRevision = lib.mkIf (self ? rev) self.rev; system.configurationRevision = lib.mkIf (self ? rev) self.rev;