Merge pull request #276430 from hellodword/patch-1

nixos/tailscale: fix after and wants
This commit is contained in:
Nick Cao 2024-01-01 15:52:50 -05:00 committed by GitHub
commit 3d6243a6a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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";