v6 is handled...roughly

This commit is contained in:
niten 2024-01-31 09:36:35 -08:00
parent c1c67ecc80
commit 38640140c8
1 changed files with 0 additions and 1 deletions

View File

@ -14,7 +14,6 @@ in {
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: network == "::1" || hasPrefix "127." network;
# FIXME: ipv6?
localNetworks = localNetworks =
filter (network: !(isLocal network)) config.instance.local-networks; filter (network: !(isLocal network)) config.instance.local-networks;
makeName = network: makeName = network: