services/router: init

This commit is contained in:
2026-09-17 08:57:32 +07:00
parent b85d6637f1
commit 60aac6efb2
39 changed files with 1831 additions and 929 deletions
+3 -3
View File
@@ -8,10 +8,10 @@
# vars/shared/zerotier-network-<instance>/network-id (instance = "zerotier",
# the inventory.instances.zerotier name in clan.nix). This keeps the mesh map in
# lockstep with the actual identities: regenerate or re-key a node and its
# address here follows automatically. Call as: import ../mesh-hosts.nix { inherit config lib; }.
{ config, lib }:
# address here follows automatically. `dir` is the clan directory: from NixOS
# `config.clan.core.settings.directory`, from clan.nix `config.directory`.
{ dir, lib }:
let
dir = config.clan.core.settings.directory;
instance = "zerotier";
readIp =