mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-04-19 06:19:12 +00:00
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:
parent
a96fcb06db
commit
18e2743be2
@ -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";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user