cluster/services/wireguard: expose meshNet in vars

This commit is contained in:
Max Headroom 2022-08-04 23:25:37 +02:00
parent f5d5c3e538
commit 12fe9620e9

View file

@ -12,9 +12,12 @@ let
getExtAddr = host: host.interfaces.primary.addrPublic or host.interfaces.primary.addr; getExtAddr = host: host.interfaces.primary.addrPublic or host.interfaces.primary.addr;
in in
{ {
vars.mesh = { vars = {
VEGAS = config.links.mesh-node-VEGAS.extra; mesh = {
prophet = config.links.mesh-node-prophet.extra; VEGAS = config.links.mesh-node-VEGAS.extra;
prophet = config.links.mesh-node-prophet.extra;
};
inherit meshNet;
}; };
links = { links = {
mesh-node-VEGAS = { mesh-node-VEGAS = {