Open raboof opened 6 months ago
See #247608.
I use:
systemd.services.NetworkManager-wait-online = {
serviceConfig = {
ExecStart = [ "" "${pkgs.networkmanager}/bin/nm-online -q" ];
};
};
See #247608.
Thanks for the reference! I don't think I have networking.useNetworkd
enabled, though - unclear whether it's the same issue?
I use:
systemd.services.NetworkManager-wait-online = { serviceConfig = { ExecStart = [ "" "${pkgs.networkmanager}/bin/nm-online -q" ]; }; };
haven't checked what that does, but it indeed does appear to make switching fast again :)
Yeah I actually took it from https://github.com/NixOS/nixpkgs/issues/180175#issuecomment-1658731959. Found it now.
Describe the bug
When I 'nixos-rebuild switch', this takes a long time, as
NetworkManager-wait-online.service
is timing out. The network seems to work fine, though.I set
networking.networkmanager.logLevel
toDEBUG
, but this didn't turn up anything obvious in journalctl yet.Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.Add a :+1: reaction to issues you find important.