networking: wait-online service fix

This commit is contained in:
ooks-io 2025-01-06 16:29:04 +11:00
parent 859ba27ce0
commit bcf9055675

View file

@ -1,6 +1,7 @@
{ {
lib, lib,
config, config,
pkgs,
... ...
}: let }: let
inherit (lib) mkForce mkDefault; inherit (lib) mkForce mkDefault;
@ -42,5 +43,5 @@ in {
}; };
# sometimes causes issues with network manager service never actually starting # sometimes causes issues with network manager service never actually starting
# requiring me to manually start the service. fine on a workstation, not on a server # requiring me to manually start the service. fine on a workstation, not on a server
systemd.services.NetworkManager-wait-online.enable = host.role != "server"; systemd.services.NetworkManager-wait-online.serviceConfig.ExecStart = ["" "${pkgs.networkmanager}/bin/nm-online -q"];
} }