summaryrefslogtreecommitdiffstats
path: root/nixos/modules/services/x11/hardware
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/services/x11/hardware
parenta8785daf0ea794f1791c598c6cac9db3858b45bb (diff)
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/services/x11/hardware')
-rw-r--r--nixos/modules/services/x11/hardware/libinput.nix8
-rw-r--r--nixos/modules/services/x11/hardware/multitouch.nix4
-rw-r--r--nixos/modules/services/x11/hardware/synaptics.nix4
3 files changed, 0 insertions, 16 deletions
diff --git a/nixos/modules/services/x11/hardware/libinput.nix b/nixos/modules/services/x11/hardware/libinput.nix
index b358550ba41d..d75c785270b3 100644
--- a/nixos/modules/services/x11/hardware/libinput.nix
+++ b/nixos/modules/services/x11/hardware/libinput.nix
@@ -73,7 +73,6 @@ in {
clickMethod = mkOption {
type = types.nullOr (types.enum [ "none" "buttonareas" "clickfinger" ]);
default = null;
- example = "none";
description =
''
Enables a click method. Permitted values are none, buttonareas, clickfinger.
@@ -85,14 +84,12 @@ in {
leftHanded = mkOption {
type = types.bool;
default = false;
- example = true;
description = "Enables left-handed button orientation, i.e. swapping left and right buttons.";
};
middleEmulation = mkOption {
type = types.bool;
default = true;
- example = false;
description =
''
Enables middle button emulation. When enabled, pressing the left and right buttons
@@ -103,7 +100,6 @@ in {
naturalScrolling = mkOption {
type = types.bool;
default = false;
- example = true;
description = "Enables or disables natural scrolling behavior.";
};
@@ -131,7 +127,6 @@ in {
horizontalScrolling = mkOption {
type = types.bool;
default = true;
- example = false;
description =
''
Disables horizontal scrolling. When disabled, this driver will discard any horizontal scroll
@@ -153,7 +148,6 @@ in {
tapping = mkOption {
type = types.bool;
default = true;
- example = false;
description =
''
Enables or disables tap-to-click behavior.
@@ -163,7 +157,6 @@ in {
tappingDragLock = mkOption {
type = types.bool;
default = true;
- example = false;
description =
''
Enables or disables drag lock during tapping behavior. When enabled, a finger up during tap-
@@ -175,7 +168,6 @@ in {
disableWhileTyping = mkOption {
type = types.bool;
default = true;
- example = false;
description =
''
Disable input method while typing.
diff --git a/nixos/modules/services/x11/hardware/multitouch.nix b/nixos/modules/services/x11/hardware/multitouch.nix
index f8386b5e333b..0e9eb0214947 100644
--- a/nixos/modules/services/x11/hardware/multitouch.nix
+++ b/nixos/modules/services/x11/hardware/multitouch.nix
@@ -18,20 +18,17 @@ in {
enable = mkOption {
default = false;
- example = true;
description = "Whether to enable multitouch touchpad support.";
};
invertScroll = mkOption {
default = false;
- example = true;
type = types.bool;
description = "Whether to invert scrolling direction à la OSX Lion";
};
ignorePalm = mkOption {
default = false;
- example = true;
type = types.bool;
description = "Whether to ignore touches detected as being the palm (i.e when typing)";
};
@@ -39,7 +36,6 @@ in {
tapButtons = mkOption {
type = types.bool;
default = true;
- example = false;
description = "Whether to enable tap buttons.";
};
diff --git a/nixos/modules/services/x11/hardware/synaptics.nix b/nixos/modules/services/x11/hardware/synaptics.nix
index 2a7f4e5cbcd1..54454c736c1d 100644
--- a/nixos/modules/services/x11/hardware/synaptics.nix
+++ b/nixos/modules/services/x11/hardware/synaptics.nix
@@ -29,7 +29,6 @@ in {
enable = mkOption {
type = types.bool;
default = false;
- example = true;
description = "Whether to enable touchpad support.";
};
@@ -102,7 +101,6 @@ in {
tapButtons = mkOption {
type = types.bool;
default = true;
- example = false;
description = "Whether to enable tap buttons.";
};
@@ -125,7 +123,6 @@ in {
palmDetect = mkOption {
type = types.bool;
default = false;
- example = true;
description = "Whether to enable palm detection (hardware support required)";
};
@@ -146,7 +143,6 @@ in {
horizontalScroll = mkOption {
type = types.bool;
default = true;
- example = false;
description = "Whether to enable horizontal scrolling (on touchpad)";
};