Merge pull request #42709 from jollheef/master

hostapd: use WPA2 instead of WPA1 by default

Changed files
+6 -1
nixos
doc
manual
release-notes
modules
services
networking
+5
nixos/doc/manual/release-notes/rl-1809.xml
···
will be added to <literal>environment.systemPackages</literal>.
</para>
</listitem>
</itemizedlist>
</section>
</section>
···
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>
+1 -1
nixos/modules/services/networking/hostapd.nix
···
ctrl_interface_group=${cfg.group}
${if cfg.wpa then ''
-
wpa=1
wpa_passphrase=${cfg.wpaPassphrase}
'' else ""}
···
ctrl_interface_group=${cfg.group}
${if cfg.wpa then ''
+
wpa=2
wpa_passphrase=${cfg.wpaPassphrase}
'' else ""}