networks -> zone.

The existence of the zone probably shouldn't be assumed. A project for
another day.
This commit is contained in:
niten 2021-11-22 17:02:00 -08:00
parent 30150e46de
commit 7299f74d58
1 changed files with 2 additions and 2 deletions

View File

@ -30,12 +30,12 @@ let
host-ipv4 = config: hostname: let host-ipv4 = config: hostname: let
domain = config.fudo.hosts.${hostname}.domain; 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; in host-network.hosts.${hostname}.ipv4-address;
host-ipv6 = config: hostname: let host-ipv6 = config: hostname: let
domain = config.fudo.hosts.${hostname}.domain; 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; in host-network.hosts.${hostname}.ipv6-address;
host-ips = config: hostname: let host-ips = config: hostname: let