From 5ad8a56d1621b7678d61c0def9c621a5e64b0eb3 Mon Sep 17 00:00:00 2001 From: Joachim Fasting Date: Sun, 20 Nov 2016 21:51:11 +0100 Subject: [PATCH] grsecurity module: remove use of mkEnableOption --- nixos/modules/security/grsecurity.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/nixos/modules/security/grsecurity.nix b/nixos/modules/security/grsecurity.nix index 53c2ace784e..155bbea8c6e 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;