nixos-config/hosts/rackserv/profiles/nebula.nix
2025-09-09 09:45:35 +02:00

27 lines
590 B
Nix

{config, ...}: {
networking.firewall.allowedTCPPorts = [4343];
services.nebula.networks.xunmesh = {
enable = true;
isLighthouse = true;
cert = config.sops.secrets.nebula-cert.path;
key = config.sops.secrets.nebula-key.path;
ca = config.sops.secrets.nebula-ca-cert.path;
listen.port = 3131;
firewall = {
inbound = [
{
host = "any";
port = "any";
proto = "any";
}
];
outbound = [
{
host = "any";
port = "any";
proto = "any";
}
];
};
};
}