summaryrefslogtreecommitdiff
path: root/modules/system
diff options
context:
space:
mode:
authorDaiderd Jordan <daiderd@gmail.com>2019-09-01 09:57:38 +0200
committerGitHub <noreply@github.com>2019-09-01 09:57:38 +0200
commiteb2812d669e4ca12647629428a8826884c0202d2 (patch)
treefed7fed1ef3c42097855684d5ad65060b736d160 /modules/system
parentef3d6e4354d029c7ef6f614654e48e9656e077f8 (diff)
parentc3d9dceede33646bca6810e141ff832b453a49c2 (diff)
Merge pull request #154 from eraserhd/keyboard-fnState
Allow configuring external keyboard to use standard F-keys
Diffstat (limited to 'modules/system')
-rw-r--r--modules/system/defaults/NSGlobalDomain.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/modules/system/defaults/NSGlobalDomain.nix b/modules/system/defaults/NSGlobalDomain.nix
index 28fe60a..d519ce0 100644
--- a/modules/system/defaults/NSGlobalDomain.nix
+++ b/modules/system/defaults/NSGlobalDomain.nix
@@ -208,6 +208,14 @@ in {
'';
};
+ system.defaults.NSGlobalDomain."com.apple.keyboard.fnState" = mkOption {
+ type = types.nullOr types.bool;
+ default = null;
+ description = ''
+ Use F1, F2, etc. keys as standard function keys.
+ '';
+ };
+
system.defaults.NSGlobalDomain."com.apple.mouse.tapBehavior" = mkOption {
type = types.nullOr (types.enum [ 1 ]);
default = null;