From d8f6ca1afa36d45e1cb5496c1ba8725cb0ad14df Mon Sep 17 00:00:00 2001 From: Mikhail Klementev Date: Thu, 28 Jun 2018 09:35:50 +0400 Subject: hostapd: use WPA2 instead of WPA1 by default --- nixos/doc/manual/release-notes/rl-1809.xml | 5 +++++ nixos/modules/services/networking/hostapd.nix | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/nixos/doc/manual/release-notes/rl-1809.xml b/nixos/doc/manual/release-notes/rl-1809.xml index 667437a24135..51e77d24a74e 100644 --- a/nixos/doc/manual/release-notes/rl-1809.xml +++ b/nixos/doc/manual/release-notes/rl-1809.xml @@ -330,6 +330,11 @@ inherit (pkgs.nixos { will be added to environment.systemPackages. + + + The module now uses WPA2 by default. + + diff --git a/nixos/modules/services/networking/hostapd.nix b/nixos/modules/services/networking/hostapd.nix index 63f56437d1c8..3af0441a89d8 100644 --- a/nixos/modules/services/networking/hostapd.nix +++ b/nixos/modules/services/networking/hostapd.nix @@ -29,7 +29,7 @@ let ctrl_interface_group=${cfg.group} ${if cfg.wpa then '' - wpa=1 + wpa=2 wpa_passphrase=${cfg.wpaPassphrase} '' else ""} -- cgit 1.4.1