[Backport release-24.05] tailscaled: after NetworkManager-wait-online (#346647)

This commit is contained in:
Pol Dellaiera
2024-10-05 17:37:13 +02:00
committed by GitHub

View File

@@ -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)