Add some brackets

This commit is contained in:
niten 2024-01-31 00:14:00 -08:00
parent 9e36dfc6ca
commit 2d2f1099ea
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ in {
zoneName = config.fudo.domains."${domainName}".zone;
isLocal = ip: ip == "::1" || hasPrefix "127.";
# FIXME: ipv6?
localNetworks = filter (ip: !isLocal ip) config.instance.local-networks;
localNetworks = filter (ip: !(isLocal ip)) config.instance.local-networks;
makeName = network:
if !isNull (builtins.match ":" ip) then
"ip6:${network}"