From f122cee43c2e386513cac7c112d605fb51f0527d Mon Sep 17 00:00:00 2001 From: Artemis Tosini Date: Sat, 20 Nov 2021 05:15:37 +0000 Subject: [PATCH] Fix iwd config --- externals/home-manager | 1 - sets/wifi.nix | 9 ++++----- 2 files changed, 4 insertions(+), 6 deletions(-) delete mode 160000 externals/home-manager diff --git a/externals/home-manager b/externals/home-manager deleted file mode 160000 index 0b47ded..0000000 --- a/externals/home-manager +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 0b47ded208a6ed24f40b9d62379d04fe8dc4f63e diff --git a/sets/wifi.nix b/sets/wifi.nix index 753dadc..9d29500 100644 --- a/sets/wifi.nix +++ b/sets/wifi.nix @@ -1,9 +1,8 @@ { pkgs, ... }: { - networking.wireless.iwd.enable = true; services.udev.packages = [ pkgs.crda ]; - environment.etc."iwd/main.conf".text = '' - [General] - AddressRandomization=network - ''; + networking.wireless.iwd = { + enable = true; + settings.General.AddressRandomization = "network"; + }; }