From 18e2743be21d335caf6ba3698b4db571898e75c7 Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Sun, 19 Mar 2023 09:58:46 +0800 Subject: [PATCH] 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. --- hosts/ni/hardware-configuration.nix | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/hosts/ni/hardware-configuration.nix b/hosts/ni/hardware-configuration.nix index 9b5db7ea..f36bb080 100644 --- a/hosts/ni/hardware-configuration.nix +++ b/hosts/ni/hardware-configuration.nix @@ -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";