Merge pull request #42709 from jollheef/master

hostapd: use WPA2 instead of WPA1 by default
This commit is contained in:
adisbladis
2018-06-30 21:44:19 +08:00
committed by GitHub
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 ""}