hostapd: use WPA2 instead of WPA1 by default

This commit is contained in:
Mikhail Klementev 2018-06-28 09:35:50 +04:00
parent b8b20774d1
commit d8f6ca1afa
2 changed files with 6 additions and 1 deletions

View file

@ -330,6 +330,11 @@ inherit (pkgs.nixos {
will be added to <literal>environment.systemPackages</literal>.
</para>
</listitem>
<listitem>
<para>
The module <option>services.networking.hostapd</option> now uses WPA2 by default.
</para>
</listitem>
</itemizedlist>
</section>
</section>

View file

@ -29,7 +29,7 @@ let
ctrl_interface_group=${cfg.group}
${if cfg.wpa then ''
wpa=1
wpa=2
wpa_passphrase=${cfg.wpaPassphrase}
'' else ""}