1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 03:30:45 +00:00

tailscaled: after NetworkManager-wait-online

The wait will only be enabled on machines with NetworkManager enabled.

Closes #180175
This commit is contained in:
Marin 2024-09-26 11:13:43 -04:00 committed by Marin
parent 4d2cdd2e71
commit 0d822ccdbc

View file

@ -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 = [
pkgs.procps # for collecting running services (opt-in feature)