diff --git a/hosts/fwbook.nix b/hosts/fwbook.nix index ede79b5..41d57bd 100644 --- a/hosts/fwbook.nix +++ b/hosts/fwbook.nix @@ -121,5 +121,4 @@ in ''; }; systemd.sleep.extraConfig = "HibernateDelaySec=30m"; - skyg.core.hostName = "fwbook"; } diff --git a/modules/lib.nix b/modules/lib.nix index 1827f4a..48926b4 100644 --- a/modules/lib.nix +++ b/modules/lib.nix @@ -75,7 +75,7 @@ in name = name; value = makeHLService { hostName = name; - configuration = (import (./hosts + "/${name}.nix") { user = user; }); + configuration = (import (../hosts + "/${name}.nix") { user = user; }); systemStateVersion = systemStateVersion; }; }) diff --git a/modules/main.nix b/modules/main.nix index 6cfaec4..cf26f83 100644 --- a/modules/main.nix +++ b/modules/main.nix @@ -36,6 +36,7 @@ ; # Share defaults skyg.user = user; + skyg.core.hostName = hostName; skyg.home-manager.version = homeManagerVersion; skyg.core.substituters = localNixCaches; system.stateVersion = systemStateVersion;