nixos/nebula: Update systemd service to be more like the source repo's

This commit is contained in:
Tim Van Baak 2021-03-04 21:04:18 -08:00
parent 9858cba4dc
commit e3f113abc2

View file

@ -171,7 +171,8 @@ in
# Create systemd service for Nebula.
"nebula@${netName}" = {
description = "Nebula VPN service for ${netName}";
after = [ "network.target" ];
wants = [ "basic.target" ];
after = [ "basic.target" "network.target" ];
before = [ "sshd.service" ];
wantedBy = [ "multi-user.target" ];
serviceConfig = mkMerge [