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
+4 -1
View File
@@ -10,7 +10,10 @@
...
}:
let
mesh = import ../mesh-hosts.nix { inherit config lib; };
mesh = import ../mesh-hosts.nix {
dir = config.clan.core.settings.directory;
inherit lib;
};
knotEnabled = config.services.knot.enable;
# node_exporter on every host; knot-exporter only where Knot runs.
ports = [ 9100 ] ++ lib.optional knotEnabled 9433;