summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorJason Felice <jason.m.felice@gmail.com>2019-07-22 11:05:48 -0400
committerJason Felice <jason.m.felice@gmail.com>2019-07-22 11:05:48 -0400
commitc3d9dceede33646bca6810e141ff832b453a49c2 (patch)
tree9670f67510ec455d4255a3bcf49c47ed31dda50a /modules
parent2fce9974b6ad197682189d4978d77d122cb0ca3f (diff)
Allow configuring external keyboard to use standard F-keys
Diffstat (limited to 'modules')
-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;