23.11: remove workaround for network-online.target

network-online.target has been fixed to no longer time out for systems with
networking.useDHCP = true and networking.useNetworkd = true. Workarounds
for this can be removed.
This commit is contained in:
Casper V. Kristensen 2023-12-01 17:48:18 +01:00
parent 911f90670e
commit 6a24fbfacf

View file

@ -17,12 +17,4 @@
{ directory = "/etc/NetworkManager/system-connections"; user = "root"; group = "root"; mode = "0700"; }
];
};
# systemd-networkd-wait-online can timeout and fail if there are no network
# interfaces available for it to manage. When systemd-networkd is enabled but
# a different service is responsible for managing the system's internet
# connection (for example, NetworkManager), this service is unnecessary and
# can be disabled.
# https://search.nixos.org/options?channel=23.11&show=systemd.network.wait-online.enable
systemd.network.wait-online.enable = false;
}