{ # Ensure this is unique among all clans you want to use. meta.name = "cnx-network-clan"; meta.domain = "cnx-network.internal"; inventory.machines = { control = { }; ns1 = { }; ns2 = { }; }; inventory.instances = { admin = { roles.default.tags.all = { }; roles.default.settings.allowedKeys = { "berwn" = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIENAjhGQGraQoAjJzsomKP8GAmQPeGL1rNRNHgRcLqtT"; "kurogeek" = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEcZ/p1Ofa9liwIzPWzNtONhJ7+FUWd2lCz33r81t8+w kurogeek@kurogeek"; }; }; zerotier = { roles.controller.machines."control" = { }; roles.peer.tags.all = { }; }; tor = { roles.server.tags.nixos = { }; }; # Direct SSH to public IPs — clan's priority-1 connection path, with the # ZeroTier mesh and Tor kept as automatic fallbacks. Raw IPs (not the # ns1/ns2 DNS names) so reaching these hosts never depends on their own # DNS being up. internet = { roles.default.machines.control.settings.host = "77.42.68.181"; roles.default.machines.ns1.settings.host = "46.224.170.206"; roles.default.machines.ns2.settings.host = "157.180.70.82"; }; # Recovery root password for console access when a machine fails to boot. emergency-access = { roles.default.tags.nixos = { }; }; }; machines = { }; }