2024-10-15 16:02:42 -05:00
|
|
|
{config, ...}: let
|
2024-12-14 17:15:55 -06:00
|
|
|
inherit (import ../../../modules/nebula/shared.nix) userGroup;
|
2024-10-15 16:02:42 -05:00
|
|
|
in {
|
|
|
|
sops.secrets."svc-nebula-key" = {
|
|
|
|
mode = "0440";
|
|
|
|
owner = userGroup;
|
|
|
|
group = userGroup;
|
|
|
|
};
|
|
|
|
|
2024-12-14 17:15:55 -06:00
|
|
|
networking.firewall.allowedUDPPorts = [4242];
|
|
|
|
|
|
|
|
gen.nebula = {
|
|
|
|
enable = true;
|
|
|
|
enableLighthouse = true;
|
2024-11-03 20:30:30 -06:00
|
|
|
|
2024-10-15 16:02:42 -05:00
|
|
|
cert = ../../../keys/lh-silver.crt;
|
|
|
|
key = config.sops.secrets."svc-nebula-key".path;
|
|
|
|
|
2024-12-14 17:15:55 -06:00
|
|
|
extraInbound = [];
|
2024-10-15 16:02:42 -05:00
|
|
|
};
|
|
|
|
}
|