modules/cluster/deployment-options: fix networks

This commit is contained in:
Astro 2022-11-26 02:53:32 +01:00
parent 035617c112
commit 9ad4bd0649
1 changed files with 2 additions and 2 deletions

View File

@ -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
);