summary refs log tree commit diff
path: root/nixos/modules/security
diff options
context:
space:
mode:
authorFranz Pletz <fpletz@fnordicwalking.de>2017-03-17 23:31:52 +0100
committerFranz Pletz <fpletz@fnordicwalking.de>2017-03-17 23:36:19 +0100
commit953616907493c5b81ba3ec9dd86f1422f4d1fcd3 (patch)
tree1ebe5e1caaed3b8a5920280bba56406974202326 /nixos/modules/security
parenta8785daf0ea794f1791c598c6cac9db3858b45bb (diff)
downloadnixlib-953616907493c5b81ba3ec9dd86f1422f4d1fcd3.tar
nixlib-953616907493c5b81ba3ec9dd86f1422f4d1fcd3.tar.gz
nixlib-953616907493c5b81ba3ec9dd86f1422f4d1fcd3.tar.bz2
nixlib-953616907493c5b81ba3ec9dd86f1422f4d1fcd3.tar.lz
nixlib-953616907493c5b81ba3ec9dd86f1422f4d1fcd3.tar.xz
nixlib-953616907493c5b81ba3ec9dd86f1422f4d1fcd3.tar.zst
nixlib-953616907493c5b81ba3ec9dd86f1422f4d1fcd3.zip
nixos/treewide: remove boolean examples for options
They contain no useful information and increase the length of the
autogenerated options documentation.

See discussion in #18816.
Diffstat (limited to 'nixos/modules/security')
-rw-r--r--nixos/modules/security/grsecurity.nix3
1 files changed, 0 insertions, 3 deletions
diff --git a/nixos/modules/security/grsecurity.nix b/nixos/modules/security/grsecurity.nix
index 3726b6c78185..657b059faf2e 100644
--- a/nixos/modules/security/grsecurity.nix
+++ b/nixos/modules/security/grsecurity.nix
@@ -21,7 +21,6 @@ in
 
     enable = mkOption {
       type = types.bool;
-      example = true;
       default = false;
       description = ''
         Enable grsecurity/PaX.
@@ -30,7 +29,6 @@ in
 
     lockTunables = mkOption {
       type = types.bool;
-      example = false;
       default = true;
       description = ''
         Whether to automatically lock grsecurity tunables
@@ -43,7 +41,6 @@ in
 
     disableEfiRuntimeServices = mkOption {
       type = types.bool;
-      example = false;
       default = true;
       description = ''
         Whether to disable access to EFI runtime services.  Enabling EFI runtime