From 7299f74d58a62505bcd721dfcad4e8e51cc4a75f Mon Sep 17 00:00:00 2001 From: niten Date: Mon, 22 Nov 2021 17:02:00 -0800 Subject: [PATCH] networks -> zone. The existence of the zone probably shouldn't be assumed. A project for another day. --- lib/lib/network.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/lib/network.nix b/lib/lib/network.nix index 944b722..57572c2 100644 --- a/lib/lib/network.nix +++ b/lib/lib/network.nix @@ -30,12 +30,12 @@ let host-ipv4 = config: hostname: let domain = config.fudo.hosts.${hostname}.domain; - host-network = config.fudo.networks.${domain}; + host-network = config.fudo.zones.${domain}; in host-network.hosts.${hostname}.ipv4-address; host-ipv6 = config: hostname: let domain = config.fudo.hosts.${hostname}.domain; - host-network = config.fudo.networks.${domain}; + host-network = config.fudo.zones.${domain}; in host-network.hosts.${hostname}.ipv6-address; host-ips = config: hostname: let