From d1587cbed79ed2ca1cbebc2ca938b90a869e34ed Mon Sep 17 00:00:00 2001 From: kekrby Date: Mon, 29 Aug 2022 14:51:00 +0300 Subject: [PATCH] t2-iso-minimal, t2-iso-gnome: switch to iwd --- nix/t2-iso-gnome.nix | 2 ++ nix/t2-iso-minimal.nix | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/nix/t2-iso-gnome.nix b/nix/t2-iso-gnome.nix index ace4caa..cba9910 100644 --- a/nix/t2-iso-gnome.nix +++ b/nix/t2-iso-gnome.nix @@ -16,6 +16,8 @@ alsa.enable = true; }; + networking.networkmanager.wifi.backend = "iwd"; + # ZFS is broken and prevents building without this nixpkgs.config.allowBroken = true; diff --git a/nix/t2-iso-minimal.nix b/nix/t2-iso-minimal.nix index e4fb91d..5b66e01 100644 --- a/nix/t2-iso-minimal.nix +++ b/nix/t2-iso-minimal.nix @@ -10,9 +10,9 @@ # ZFS is broken and prevents building without this nixpkgs.config.allowBroken = true; - # NetworkManager is preferred because wpa_supplicant does not work well (though wpa_cli seems to work fine for some reason) - # wpa_supplicant is enabled by a module imported by the installation CD module so it is turned off so that it does not conflict with NetworkManager - networking.networkmanager.enable = true; + # iwd is preferred because wpa_supplicant does not work well (though wpa_cli seems to work fine for some reason) + # wpa_supplicant is enabled by a module imported by the installation CD module so it is turned off so that it does not conflict with iwd + networking.wireless.iwd.enable = true; networking.wireless.enable = false; environment.systemPackages = with pkgs; [