nixos: workaround for nm-wait-online hanging during nixos switch

This commit is contained in:
Leonardo Eugênio 2024-10-01 11:00:26 -03:00
parent 26a34669d0
commit bd46b5610b

View file

@ -48,6 +48,15 @@
services.geoclue2.enable = true;
# Workaround for nm-wait-online hanging??
# Ref: https://github.com/NixOS/nixpkgs/issues/180175
systemd.services.NetworkManager-wait-online = {
serviceConfig.ExecStart = [
""
"${pkgs.networkmanager}/bin/nm-online -q"
];
};
systemd.extraConfig = ''
DefaultTimeoutStopSec=10s
'';