diff --git a/cluster/services/wireguard/default.nix b/cluster/services/wireguard/default.nix index c3c78ab..cae81a8 100644 --- a/cluster/services/wireguard/default.nix +++ b/cluster/services/wireguard/default.nix @@ -12,9 +12,12 @@ let getExtAddr = host: host.interfaces.primary.addrPublic or host.interfaces.primary.addr; in { - vars.mesh = { - VEGAS = config.links.mesh-node-VEGAS.extra; - prophet = config.links.mesh-node-prophet.extra; + vars = { + mesh = { + VEGAS = config.links.mesh-node-VEGAS.extra; + prophet = config.links.mesh-node-prophet.extra; + }; + inherit meshNet; }; links = { mesh-node-VEGAS = {