From 3025f6a42aac80ff2b56dff3ab4b78a3614ad7c3 Mon Sep 17 00:00:00 2001 From: Daiderd Jordan Date: Wed, 14 Dec 2016 13:30:46 +0100 Subject: [PATCH] add description for keyboard options --- modules/system/defaults/NSGlobalDomain.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/modules/system/defaults/NSGlobalDomain.nix b/modules/system/defaults/NSGlobalDomain.nix index ed78a7ca..15a5017a 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. + ''; }; };