enable meshnamed in zerotier module
All checks were successful
checks-impure / test (pull_request) Successful in 1m54s
checks / test (pull_request) Successful in 2m1s

This commit is contained in:
Jörg Thalheim 2023-11-14 14:40:26 +01:00
parent cf9f24a3b2
commit d2303df18b
No known key found for this signature in database

View File

@ -150,6 +150,7 @@ in
(lib.mkIf (cfg.controller.enable && config.clanCore.secrets ? zerotier && facts.zerotier-network-id.value != null) {
clan.networking.zerotier.networkId = facts.zerotier-network-id.value;
environment.etc."zerotier/network-id".text = facts.zerotier-network-id.value;
clan.networking.meshnamed.networks.vpn.subnet = cfg.subnet;
systemd.services.zerotierone.serviceConfig.ExecStartPre = [
"+${pkgs.writeShellScript "init-zerotier" ''