parent
26a1918d60
commit
bdb5a21fde
2 changed files with 10 additions and 4 deletions
|
@ -181,6 +181,15 @@
|
|||
{
|
||||
imports = [
|
||||
|
||||
# todo this should be done by zerotier-static-peers
|
||||
(
|
||||
{ config, ... }:
|
||||
{
|
||||
clan.core.networking.zerotier.networkId =
|
||||
builtins.readFile ./vars/per-machine/chungus/zerotier/zerotier-network-id/value;
|
||||
}
|
||||
)
|
||||
|
||||
# this magically adds all my machines in the zero tier network
|
||||
# and makes the controller accept them.
|
||||
# will automatic look into `/machines/<name>/facts/zerotier-ip
|
||||
|
|
|
@ -7,10 +7,7 @@
|
|||
}:
|
||||
|
||||
let
|
||||
# todo : check if reference works again
|
||||
#zerotierSubnet = config.clan.core.networking.zerotier.subnet;
|
||||
zerotierSubnet = "fdb3:fdc0:b880:37a1:3a99:9300::/88";
|
||||
|
||||
zerotierSubnet = config.clan.core.networking.zerotier.subnet;
|
||||
in
|
||||
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue