stormd works fully!
This commit is contained in:
parent
7afc927424
commit
4b12a463af
4 changed files with 20 additions and 9 deletions
|
@ -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 = [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue