From f2e594275eb21b8759592e66b087e8e27c9461f1 Mon Sep 17 00:00:00 2001 From: xenia Date: Tue, 25 Jun 2024 18:07:56 +0200 Subject: [PATCH] Option to use iwd --- nixos/networking.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nixos/networking.nix b/nixos/networking.nix index 726c695d..269e27d8 100644 --- a/nixos/networking.nix +++ b/nixos/networking.nix @@ -1,10 +1,12 @@ { pkgs, + use-iwd ? false, }: { networking.networkmanager = { enable = true; dhcp = "dhcpcd"; + wifi.backend = if use-iwd then "iwd" else "wpa_supplicant"; }; networking.nameservers = [ "8.8.8.8" ]; networking.resolvconf.enable = true;