modules/cluster/deployment-options: fix networks
This commit is contained in:
parent
035617c112
commit
9ad4bd0649
|
@ -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
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue