Skip to content

Commit

Permalink
tailscaled: after NetworkManager-wait-online (#344678)
Browse files Browse the repository at this point in the history
  • Loading branch information
fpletz authored Sep 28, 2024
2 parents a3f79b7 + 0d822cc commit 1ee99a4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nixos/modules/services/networking/tailscale.nix
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ in {
environment.systemPackages = [ cfg.package ]; # for the CLI
systemd.packages = [ cfg.package ];
systemd.services.tailscaled = {
after = lib.mkIf (config.networking.networkmanager.enable) [ "NetworkManager-wait-online.service" ];
wantedBy = [ "multi-user.target" ];
path = [
(builtins.dirOf config.security.wrapperDir) # for `su` to use taildrive with correct access rights
Expand Down

0 comments on commit 1ee99a4

Please sign in to comment.