summary refs log tree commit diff
path: root/nixos/modules/services/networking/hostapd.nix
diff options
context:
space:
mode:
authorMikhail Klementev <jollheef@riseup.net>2018-06-28 09:35:50 +0400
committerMikhail Klementev <jollheef@riseup.net>2018-06-30 11:33:11 +0000
commitd8f6ca1afa36d45e1cb5496c1ba8725cb0ad14df (patch)
treeb2c7984f859b5a16dc44aa3f64081eceb28f23c4 /nixos/modules/services/networking/hostapd.nix
parentb8b20774d1b63e59817453d29272ca8767569777 (diff)
downloadnixlib-d8f6ca1afa36d45e1cb5496c1ba8725cb0ad14df.tar
nixlib-d8f6ca1afa36d45e1cb5496c1ba8725cb0ad14df.tar.gz
nixlib-d8f6ca1afa36d45e1cb5496c1ba8725cb0ad14df.tar.bz2
nixlib-d8f6ca1afa36d45e1cb5496c1ba8725cb0ad14df.tar.lz
nixlib-d8f6ca1afa36d45e1cb5496c1ba8725cb0ad14df.tar.xz
nixlib-d8f6ca1afa36d45e1cb5496c1ba8725cb0ad14df.tar.zst
nixlib-d8f6ca1afa36d45e1cb5496c1ba8725cb0ad14df.zip
hostapd: use WPA2 instead of WPA1 by default
Diffstat (limited to 'nixos/modules/services/networking/hostapd.nix')
-rw-r--r--nixos/modules/services/networking/hostapd.nix2
1 files changed, 1 insertions, 1 deletions
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 ""}