networking: don't wait for network-online

It failed upon deployment with deploy-rs and caused it to rollback
This commit is contained in:
teutat3s 2023-01-28 15:13:47 +01:00
parent 601642cb68
commit ea6d2caa9d
Signed by: teutat3s
GPG key ID: 4FA1D3FA524F22C1

View file

@ -29,8 +29,9 @@ in {
};
};
config = {
# disable NetworkManager-wait-online by default
# disable NetworkManager and systemd-networkd -wait-online by default
systemd.services.NetworkManager-wait-online.enable = lib.mkDefault false;
systemd.services.systemd-networkd-wait-online.enable = lib.mkDefault false;
networking.networkmanager = {
# Enable networkmanager. REMEMBER to add yourself to group in order to use nm related stuff.