configure systemd-network to accept any interface to consider itself online

This commit is contained in:
Hendrik Sokolowski 2023-01-28 22:20:57 +01:00
parent 4124c22b67
commit 412c2075d4
Signed by: hensoko
GPG key ID: 5C36A01B80BCCC59

View file

@ -31,7 +31,7 @@ in {
config = { config = {
# disable NetworkManager and systemd-networkd -wait-online by default # disable NetworkManager and systemd-networkd -wait-online by default
systemd.services.NetworkManager-wait-online.enable = lib.mkDefault false; systemd.services.NetworkManager-wait-online.enable = lib.mkDefault false;
systemd.services.systemd-networkd-wait-online.enable = lib.mkDefault false; systemd.network.wait-online.anyInterface = lib.mkDefault true;
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.