diff --git a/modules/services/networking/wpa_supplicant.nix b/modules/services/networking/wpa_supplicant.nix index 20752cdee259..697e54f91d34 100644 --- a/modules/services/networking/wpa_supplicant.nix +++ b/modules/services/networking/wpa_supplicant.nix @@ -51,8 +51,7 @@ in }; driver = mkOption { - default = ""; - example = "nl80211"; + default = "nl80211,wext"; description = "Force a specific wpa_supplicant driver."; }; @@ -118,7 +117,7 @@ in '' else '' ifaces="${concatStringsSep " -N " (map (i: "-i${i}") ifaces)}" ''} - exec wpa_supplicant -s -u ${optionalString (cfg.driver != "") "-D${cfg.driver}"} -c ${configFile} $ifaces + exec wpa_supplicant -s -u -D${cfg.driver} -c ${configFile} $ifaces -dd ''; };