diff options
author | Joachim Fasting <joachifm@fastmail.fm> | 2016-11-20 21:51:11 +0100 |
---|---|---|
committer | Joachim Fasting <joachifm@fastmail.fm> | 2016-11-20 23:00:24 +0100 |
commit | 5ad8a56d1621b7678d61c0def9c621a5e64b0eb3 (patch) | |
tree | a47820f07191345f8b80e04e1220d8cd1f9b19c5 /nixos | |
parent | 6343616e3bfe8a2cea4e27198f39e46ffb01d7a2 (diff) |
grsecurity module: remove use of mkEnableOption
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/security/grsecurity.nix | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/nixos/modules/security/grsecurity.nix b/nixos/modules/security/grsecurity.nix index 53c2ace784efe..155bbea8c6e6f 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; |