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