⬆️ nix flake update clan-core (with fixes)

This commit is contained in:
Ingolf Wagner 2025-04-25 18:21:37 +02:00
parent 26a1918d60
commit bdb5a21fde
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B
2 changed files with 10 additions and 4 deletions

View file

@ -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

View file

@ -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
{