Disable NetworkManager-wait-online system service

This service is presumably useful for devices that need to ensure there
is an active internet connection before starting other systemd units.
This is neither the case for end-user devices as the an active internet
connection is only needed after login nor the case for server-like
systems as they normally have a static / dhcp-based network configuration
which does not require switchable network configuration profiles.
This commit is contained in:
Hendrik Sokolowski 2022-08-24 18:19:03 +02:00
parent 80e71ca547
commit 57f608ecde
Signed by: hensoko
GPG key ID: 5C36A01B80BCCC59

View file

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