From c3d9dceede33646bca6810e141ff832b453a49c2 Mon Sep 17 00:00:00 2001 From: Jason Felice Date: Mon, 22 Jul 2019 11:05:48 -0400 Subject: Allow configuring external keyboard to use standard F-keys --- modules/system/defaults/NSGlobalDomain.nix | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'modules') 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; -- cgit v1.2.3