Merge pull request #91188 from gloaming/nixos/hostapd

nixos/hostapd: Disable insecure TKIP, enable 802.11n/ac, usability

authored by

Naïm Favier and committed by
GitHub
b559f404 cee3d9ac

+3 -1
+3 -1
nixos/modules/services/networking/hostapd.nix
··· 20 20 ssid=${cfg.ssid} 21 21 hw_mode=${cfg.hwMode} 22 22 channel=${toString cfg.channel} 23 + ieee80211n=1 24 + ieee80211ac=1 23 25 ${optionalString (cfg.countryCode != null) "country_code=${cfg.countryCode}"} 24 26 ${optionalString (cfg.countryCode != null) "ieee80211d=1"} 25 27 ··· 34 36 35 37 ${optionalString cfg.wpa '' 36 38 wpa=2 39 + wpa_pairwise=CCMP 37 40 wpa_passphrase=${cfg.wpaPassphrase} 38 41 ''} 39 42 ${optionalString cfg.noScan "noscan=1"} ··· 66 69 }; 67 70 68 71 interface = mkOption { 69 - default = ""; 70 72 example = "wlp2s0"; 71 73 type = types.str; 72 74 description = lib.mdDoc ''