diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2013-01-22 12:32:19 +0100 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2013-01-22 12:33:41 +0100 |
commit | d75fa1fdc13ea4632d036aab9a3cae4b829cced7 (patch) | |
tree | 9405281079f8e3c865e6ad170d59285cf091cd75 /modules/services/networking/wpa_supplicant.nix | |
parent | 82fb34f4091192b2f1119a9ff79380b8abf8f095 (diff) | |
download | nixpkgs-d75fa1fdc13ea4632d036aab9a3cae4b829cced7.tar nixpkgs-d75fa1fdc13ea4632d036aab9a3cae4b829cced7.tar.gz nixpkgs-d75fa1fdc13ea4632d036aab9a3cae4b829cced7.tar.bz2 nixpkgs-d75fa1fdc13ea4632d036aab9a3cae4b829cced7.tar.lz nixpkgs-d75fa1fdc13ea4632d036aab9a3cae4b829cced7.tar.xz nixpkgs-d75fa1fdc13ea4632d036aab9a3cae4b829cced7.tar.zst nixpkgs-d75fa1fdc13ea4632d036aab9a3cae4b829cced7.zip |
wpa_supplicant: Use the nl80211 and wext drivers by default
This should make wpa_supplicant work out of the box on newer and older kernels.
Diffstat (limited to 'modules/services/networking/wpa_supplicant.nix')
-rw-r--r-- | modules/services/networking/wpa_supplicant.nix | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/modules/services/networking/wpa_supplicant.nix b/modules/services/networking/wpa_supplicant.nix index 20752cdee25..697e54f91d3 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 ''; }; |