From c2123f2ef6ac899b19902c06bfe1f7e4c1a0d2b5 Mon Sep 17 00:00:00 2001 From: Grigory Shipunov Date: Tue, 17 Jan 2023 20:58:09 +0100 Subject: [PATCH] try to match against name, so udev/iwd race doesn't affecrt networking --- hosts/dishwasher/configuration.nix | 2 +- hosts/toaster/network.nix | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/hosts/dishwasher/configuration.nix b/hosts/dishwasher/configuration.nix index ea0f151..4670b82 100644 --- a/hosts/dishwasher/configuration.nix +++ b/hosts/dishwasher/configuration.nix @@ -54,7 +54,7 @@ # }; }; networks."aer" = { - matchConfig.name = "wlan0"; + matchConfig.Name = "wlan0"; networkConfig = { DHCP = "yes"; }; diff --git a/hosts/toaster/network.nix b/hosts/toaster/network.nix index 239ee0e..018e9a3 100644 --- a/hosts/toaster/network.nix +++ b/hosts/toaster/network.nix @@ -46,7 +46,8 @@ }; }; networks."10-wlan-bond" = { - matchConfig.MACAddress = "04:7b:cb:2a:aa:8c"; + # matchConfig.MACAddress = "04:7b:cb:2a:aa:8c"; + matchConfig.Name = "wlan0"; networkConfig = { Bond = "james"; };