networks -> zone.
The existence of the zone probably shouldn't be assumed. A project for another day.
This commit is contained in:
parent
30150e46de
commit
7299f74d58
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue