lol

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