git.iko.soy/typeable/nixpkgs
on master help sign in
grsecurity module: remove use of mkEnableOption
commit5ad8a56d1621b7678d61c0def9c621a5e64b0eb3 authorJoachim Fasting <joachifm@fastmail.fm> dateSun 20 Nov 2016, 21:51 (10 years ago) parent6343616
1 file changed+8−1
nixos/modules/security/grsecurity.nix+8−1
nixos/modules/security/grsecurity.nix+8−1
@@ -27,7 +27,14 @@ in
2727
2828 options.security.grsecurity = {
2929
30− enable = mkEnableOption "grsecurity/PaX";
30+ enable = mkOption {
31+ type = types.bool;
32+ example = true;
33+ default = false;
34+ description = ''
35+ Enable grsecurity/PaX.
36+ '';
37+ };
3138
3239 lockTunables = mkOption {
3340 type = types.bool;