The described problem is indeed fixed by:
{
systemd.services.NetworkManager-wait-online.enable = lib.mkForce false;
}
However for you this caused a second, unrelated problem, as lib
was not in scope. I’m not sure of your setup so I cannot say exactly how to get lib
, but this might work (lib
is in pkgs
):
{
systemd.services.NetworkManager-wait-online.enable = pkgs.lib.mkForce false;
}
Truth be told, I did not use lib.mkForce
when using the workaround myself. So if that doesn’t work, you can simply try:
{
systemd.services.NetworkManager-wait-online.enable = false;
}