Skip to content

Commit

Permalink
tailscaled: after NetworkManager-wait-online
Browse files Browse the repository at this point in the history
The wait will only be enabled on machines with NetworkManager enabled.

Closes NixOS#180175

(cherry picked from commit 0d822cc)
  • Loading branch information
supermarin authored and presto8 committed Oct 9, 2024
1 parent 72afd34 commit 6b98de2
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 @@ -88,6 +88,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 = [
pkgs.procps # for collecting running services (opt-in feature)
Expand Down

0 comments on commit 6b98de2

Please sign in to comment.