diff --git a/modules/mesh-hosts.nix b/modules/mesh-hosts.nix index 033dd51..beebc1c 100644 --- a/modules/mesh-hosts.nix +++ b/modules/mesh-hosts.nix @@ -13,7 +13,13 @@ let readVar = machine: file: builtins.readFile "${dir}/vars/per-machine/${machine}/zerotier/${file}/value"; - hosts = lib.genAttrs [ "control" "ns1" "ns2" "mx1" ] (m: readVar m "zerotier-ip"); + hosts = lib.genAttrs [ + "control" + "ns1" + "ns2" + "mx1" + "web01" + ] (m: readVar m "zerotier-ip"); # RFC 4193 prefix of this ZeroTier network: fd + the 8-byte network id + the # 0x9993 marker. The network id is a public var on the controller (control). diff --git a/modules/monitoring/server.nix b/modules/monitoring/server.nix index 18eda5d..9973b09 100644 --- a/modules/monitoring/server.nix +++ b/modules/monitoring/server.nix @@ -46,6 +46,7 @@ in (target "ns1" (v6 mesh.hosts.ns1) 9100) (target "ns2" (v6 mesh.hosts.ns2) 9100) (target "mx1" (v6 mesh.hosts.mx1) 9100) + (target "web01" (v6 mesh.hosts.web01) 9100) ]; } {