grsecurity module: remove use of mkEnableOption

This commit is contained in:
Joachim Fasting 2016-11-20 21:51:11 +01:00
parent 6343616e3b
commit 5ad8a56d16
No known key found for this signature in database
GPG Key ID: 7544761007FE4E08

View File

@ -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;