domains -> fudo.domains

This commit is contained in:
niten 2024-01-30 22:21:48 -08:00
parent c5d1d11137
commit 9e36dfc6ca
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ in {
config = let
domainName = config.instance.local-domain;
zoneName = config.domains."${domainName}".zone;
zoneName = config.fudo.domains."${domainName}".zone;
isLocal = ip: ip == "::1" || hasPrefix "127.";
# FIXME: ipv6?
localNetworks = filter (ip: !isLocal ip) config.instance.local-networks;