diff --git a/modules/cluster/deployment-options.nix b/modules/cluster/deployment-options.nix index 0b0e0907..a205f848 100644 --- a/modules/cluster/deployment-options.nix +++ b/modules/cluster/deployment-options.nix @@ -14,9 +14,9 @@ type = with types; listOf str; default = builtins.attrNames ( lib.filterAttrs (net: { hosts4, hosts6, ... }: - hosts4 ? ${hostName} || + hosts4 ? ${config.networking.hostName} || lib.filterAttrs (ctx: hosts6: - hosts6 ? ${hostName} + hosts6 ? ${config.networking.hostName} ) hosts6 != {} ) zentralwerk.lib.config.site.net );