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,15 +18,18 @@
settings = { settings = {
General = { General = {
EnableNetworkConfiguration = true; EnableNetworkConfiguration = true;
UseDefaultInterface = true;
ControlPortOverNL80211 = true; ControlPortOverNL80211 = true;
}; };
Network = { Network.NameResolvingService = "systemd";
AutoConnect = true; Settings.AutoConnect = true;
NameResolvingService = "systemd";
}; };
}; };
# Welp....
systemd.network.links."80-iwd" = {
matchConfig = lib.mkForce { };
linkConfig = lib.mkForce { };
}; };
# Set the NetworkManager backend to iwd for workflows that use it. # Set the NetworkManager backend to iwd for workflows that use it.