nixos/tailscale: fix after and wants
This commit is contained in:
parent
db1b6cc5d6
commit
26c2ed1c95
1 changed files with 2 additions and 2 deletions
|
@ -100,8 +100,8 @@ in {
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.services.tailscaled-autoconnect = mkIf (cfg.authKeyFile != null) {
|
systemd.services.tailscaled-autoconnect = mkIf (cfg.authKeyFile != null) {
|
||||||
after = ["tailscale.service"];
|
after = ["tailscaled.service"];
|
||||||
wants = ["tailscale.service"];
|
wants = ["tailscaled.service"];
|
||||||
wantedBy = [ "multi-user.target" ];
|
wantedBy = [ "multi-user.target" ];
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
Type = "oneshot";
|
Type = "oneshot";
|
||||||
|
|
Loading…
Reference in a new issue