diff options
| author | Daiderd Jordan <daiderd@gmail.com> | 2019-09-01 09:57:38 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-09-01 09:57:38 +0200 |
| commit | eb2812d669e4ca12647629428a8826884c0202d2 (patch) | |
| tree | fed7fed1ef3c42097855684d5ad65060b736d160 /modules/system | |
| parent | ef3d6e4354d029c7ef6f614654e48e9656e077f8 (diff) | |
| parent | c3d9dceede33646bca6810e141ff832b453a49c2 (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.nix | 8 |
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; |
