Merge pull request #91188 from gloaming/nixos/hostapd

nixos/hostapd: Disable insecure TKIP, enable 802.11n/ac, usability
This commit is contained in:
Naïm Favier
2023-02-11 14:07:25 +01:00
committed by GitHub
@@ -20,6 +20,8 @@ let
ssid=${cfg.ssid}
hw_mode=${cfg.hwMode}
channel=${toString cfg.channel}
ieee80211n=1
ieee80211ac=1
${optionalString (cfg.countryCode != null) "country_code=${cfg.countryCode}"}
${optionalString (cfg.countryCode != null) "ieee80211d=1"}
@@ -34,6 +36,7 @@ let
${optionalString cfg.wpa ''
wpa=2
wpa_pairwise=CCMP
wpa_passphrase=${cfg.wpaPassphrase}
''}
${optionalString cfg.noScan "noscan=1"}
@@ -66,7 +69,6 @@ in
};
interface = mkOption {
default = "";
example = "wlp2s0";
type = types.str;
description = lib.mdDoc ''