summary refs log tree commit diff
path: root/nixos/modules
diff options
context:
space:
mode:
authorJoachim Fasting <joachifm@fastmail.fm>2016-11-20 21:51:11 +0100
committerJoachim Fasting <joachifm@fastmail.fm>2016-11-20 23:00:24 +0100
commit5ad8a56d1621b7678d61c0def9c621a5e64b0eb3 (patch)
treea47820f07191345f8b80e04e1220d8cd1f9b19c5 /nixos/modules
parent6343616e3bfe8a2cea4e27198f39e46ffb01d7a2 (diff)
downloadnixlib-5ad8a56d1621b7678d61c0def9c621a5e64b0eb3.tar
nixlib-5ad8a56d1621b7678d61c0def9c621a5e64b0eb3.tar.gz
nixlib-5ad8a56d1621b7678d61c0def9c621a5e64b0eb3.tar.bz2
nixlib-5ad8a56d1621b7678d61c0def9c621a5e64b0eb3.tar.lz
nixlib-5ad8a56d1621b7678d61c0def9c621a5e64b0eb3.tar.xz
nixlib-5ad8a56d1621b7678d61c0def9c621a5e64b0eb3.tar.zst
nixlib-5ad8a56d1621b7678d61c0def9c621a5e64b0eb3.zip
grsecurity module: remove use of mkEnableOption
Diffstat (limited to 'nixos/modules')
-rw-r--r--nixos/modules/security/grsecurity.nix9
1 files changed, 8 insertions, 1 deletions
diff --git a/nixos/modules/security/grsecurity.nix b/nixos/modules/security/grsecurity.nix
index 53c2ace784ef..155bbea8c6e6 100644
--- a/nixos/modules/security/grsecurity.nix
+++ b/nixos/modules/security/grsecurity.nix
@@ -27,7 +27,14 @@ in
 
   options.security.grsecurity = {
 
-    enable = mkEnableOption "grsecurity/PaX";
+    enable = mkOption {
+      type = types.bool;
+      example = true;
+      default = false;
+      description = ''
+        Enable grsecurity/PaX.
+      '';
+    };
 
     lockTunables = mkOption {
       type = types.bool;