hosts/ni: update iwd configuration

iwd and udev are going into a race condition and I cannot easily remove
attribute in a NixOS module so we'll be forcing the iwd systemd-networkd
configuration to be empty instead.
This commit is contained in:
Gabriel Arazas 2023-03-19 09:58:46 +08:00
parent a96fcb06db
commit 18e2743be2
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC

View File

@ -18,17 +18,20 @@
settings = {
General = {
EnableNetworkConfiguration = true;
UseDefaultInterface = true;
ControlPortOverNL80211 = true;
};
Network = {
AutoConnect = true;
NameResolvingService = "systemd";
};
Network.NameResolvingService = "systemd";
Settings.AutoConnect = true;
};
};
# Welp....
systemd.network.links."80-iwd" = {
matchConfig = lib.mkForce { };
linkConfig = lib.mkForce { };
};
# Set the NetworkManager backend to iwd for workflows that use it.
networking.networkmanager.wifi.backend = "iwd";