cluster/services/wireguard: expose meshNet in vars
This commit is contained in:
parent
f5d5c3e538
commit
12fe9620e9
1 changed files with 6 additions and 3 deletions
|
@ -12,10 +12,13 @@ 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 = {
|
||||||
|
mesh = {
|
||||||
VEGAS = config.links.mesh-node-VEGAS.extra;
|
VEGAS = config.links.mesh-node-VEGAS.extra;
|
||||||
prophet = config.links.mesh-node-prophet.extra;
|
prophet = config.links.mesh-node-prophet.extra;
|
||||||
};
|
};
|
||||||
|
inherit meshNet;
|
||||||
|
};
|
||||||
links = {
|
links = {
|
||||||
mesh-node-VEGAS = {
|
mesh-node-VEGAS = {
|
||||||
ipv4 = getExtAddr hosts.VEGAS;
|
ipv4 = getExtAddr hosts.VEGAS;
|
||||||
|
|
Loading…
Reference in a new issue