The ::1 network has extra stuff...
This commit is contained in:
parent
38640140c8
commit
62e4276a86
|
@ -13,7 +13,7 @@ in {
|
||||||
config = let
|
config = let
|
||||||
domainName = config.instance.local-domain;
|
domainName = config.instance.local-domain;
|
||||||
zoneName = config.fudo.domains."${domainName}".zone;
|
zoneName = config.fudo.domains."${domainName}".zone;
|
||||||
isLocal = network: network == "::1" || hasPrefix "127." network;
|
isLocal = network: hasPrefix "::1/" network || hasPrefix "127." network;
|
||||||
localNetworks =
|
localNetworks =
|
||||||
filter (network: !(isLocal network)) config.instance.local-networks;
|
filter (network: !(isLocal network)) config.instance.local-networks;
|
||||||
makeName = network:
|
makeName = network:
|
||||||
|
|
Loading…
Reference in New Issue