summaryrefslogtreecommitdiff
path: root/modules/system
diff options
context:
space:
mode:
authorDaiderd Jordan <daiderd@gmail.com>2016-12-14 13:30:46 +0100
committerDaiderd Jordan <daiderd@gmail.com>2016-12-14 13:30:46 +0100
commit3025f6a42aac80ff2b56dff3ab4b78a3614ad7c3 (patch)
tree54ee7b39945baab7046ced0a69e035f08f7f89f3 /modules/system
parent0af20a526aa7c94d4fa933aacc8618a9409d5615 (diff)
add description for keyboard options
Diffstat (limited to 'modules/system')
-rw-r--r--modules/system/defaults/NSGlobalDomain.nix14
1 files changed, 14 insertions, 0 deletions
diff --git a/modules/system/defaults/NSGlobalDomain.nix b/modules/system/defaults/NSGlobalDomain.nix
index ed78a7c..15a5017 100644
--- a/modules/system/defaults/NSGlobalDomain.nix
+++ b/modules/system/defaults/NSGlobalDomain.nix
@@ -8,11 +8,25 @@ with lib;
system.defaults.NSGlobalDomain.InitialKeyRepeat = mkOption {
type = types.nullOr types.int;
default = null;
+ description = ''
+ # Apple menu > System Preferences > Keyboard
+ If you press and hold certain keyboard keys when in a text area, the key’s character begins to repeat.
+ For example, the Delete key continues to remove text for as long as you hold it down.
+
+ This sets how long you must hold down the key before it starts repeating.
+ '';
};
system.defaults.NSGlobalDomain.KeyRepeat = mkOption {
type = types.nullOr types.int;
default = null;
+ description = ''
+ # Apple menu > System Preferences > Keyboard
+ If you press and hold certain keyboard keys when in a text area, the key’s character begins to repeat.
+ For example, the Delete key continues to remove text for as long as you hold it down.
+
+ This sets how fast it repeats once it starts.
+ '';
};
};