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:
parent
4d2cdd2e71
commit
0d822ccdbc
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue