summary refs log tree commit diff
path: root/nixos/modules/services/networking/hostapd.nix
diff options
context:
space:
mode:
authorDominik Xaver Hörl <hoe.dom@gmx.de>2020-04-27 09:04:07 +0200
committerDominik Xaver Hörl <hoe.dom@gmx.de>2020-04-27 09:32:01 +0200
commitc10d82358f875bb3c2104b7958777eb0033e024f (patch)
tree658bb8710791870ade4bf915dc450c6efda4e623 /nixos/modules/services/networking/hostapd.nix
parent5e4abf76c7e74660369bcb5e2648746db03142c8 (diff)
downloadnixpkgs-c10d82358f875bb3c2104b7958777eb0033e024f.tar
nixpkgs-c10d82358f875bb3c2104b7958777eb0033e024f.tar.gz
nixpkgs-c10d82358f875bb3c2104b7958777eb0033e024f.tar.bz2
nixpkgs-c10d82358f875bb3c2104b7958777eb0033e024f.tar.lz
nixpkgs-c10d82358f875bb3c2104b7958777eb0033e024f.tar.xz
nixpkgs-c10d82358f875bb3c2104b7958777eb0033e024f.tar.zst
nixpkgs-c10d82358f875bb3c2104b7958777eb0033e024f.zip
treewide: add types to boolean / enable options or make use of mkEnableOption
Diffstat (limited to 'nixos/modules/services/networking/hostapd.nix')
-rw-r--r--nixos/modules/services/networking/hostapd.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/modules/services/networking/hostapd.nix b/nixos/modules/services/networking/hostapd.nix
index 12c0626a941..6418ae69943 100644
--- a/nixos/modules/services/networking/hostapd.nix
+++ b/nixos/modules/services/networking/hostapd.nix
@@ -72,6 +72,7 @@ in
       };
 
       noScan = mkOption {
+        type = types.bool;
         default = false;
         description = ''
           Do not scan for overlapping BSSs in HT40+/- mode.
@@ -127,6 +128,7 @@ in
       };
 
       wpa = mkOption {
+        type = types.bool;
         default = true;
         description = ''
           Enable WPA (IEEE 802.11i/D3.0) to authenticate with the access point.