infra/nixos/hosts/eidola/nebula.nix

27 lines
496 B
Nix
Raw Normal View History

2024-10-15 16:53:31 -05:00
{config, ...}: let
inherit (import ../../modules/nebula/shared.nix) userGroup;
2024-10-15 16:53:31 -05:00
in {
sops.secrets."nebula-key" = {
mode = "0440";
owner = userGroup;
group = userGroup;
};
gen.nebula = {
enable = true;
enableLighthouse = false;
2024-11-03 20:30:30 -06:00
2024-10-15 16:53:31 -05:00
cert = ../../keys/n-srv-eidola.crt;
key = config.sops.secrets."nebula-key".path;
extraInbound = [
2024-12-13 16:47:09 -06:00
# Allow iperf3 from anyone
{
port = 5201;
proto = "any";
host = "any";
}
2024-10-15 16:53:31 -05:00
];
};
}