nixos/systemd: don't require network-online.target for multi-user.target v2

This is another attempt at 62f30634 after the original change was reverted in
0d85bf0e because NetworkManager and other tests were broken.
This commit is contained in:
rnhmjoj 2024-12-16 18:12:47 +01:00
parent d75618dc7a
commit 2370696dff
No known key found for this signature in database
GPG key ID: BFBAF4C975F76450

View file

@ -675,7 +675,6 @@ in
systemd.services.systemd-udev-settle.restartIfChanged = false; # Causes long delays in nixos-rebuild
systemd.targets.local-fs.unitConfig.X-StopOnReconfiguration = true;
systemd.targets.remote-fs.unitConfig.X-StopOnReconfiguration = true;
systemd.targets.network-online.wantedBy = [ "multi-user.target" ];
systemd.services.systemd-importd.environment = proxy_env;
systemd.services.systemd-pstore.wantedBy = [ "sysinit.target" ]; # see #81138