stormd works fully!

This commit is contained in:
RingOfStorms (Joshua Bell) 2024-10-14 03:51:21 -05:00
parent 7afc927424
commit 4b12a463af
4 changed files with 20 additions and 9 deletions

View file

@ -13,6 +13,13 @@ in
options = {
mods.${name} = {
enable = mkEnableOption (lib.mdDoc "Enable ${name}");
preflight = mkOption {
type = types.bool;
default = false;
description = ''
Does not enable the service since we're in preflight mode.
'';
};
};
};
@ -24,7 +31,7 @@ in
networking.firewall.allowedUDPPorts = [ 4242 ];
systemd.services."nebula" = {
systemd.services."nebula" = mkIf (!cfg.preflight) {
description = "Nebula VPN service";
wants = [ "basic.target" ];
after = [