diff --git a/modules/system/defaults/NSGlobalDomain.nix b/modules/system/defaults/NSGlobalDomain.nix index cd008e0ba..9eb31d5cf 100644 --- a/modules/system/defaults/NSGlobalDomain.nix +++ b/modules/system/defaults/NSGlobalDomain.nix @@ -342,6 +342,14 @@ in { ''; }; + system.defaults.NSGlobalDomain."com.apple.trackpad.forceClick" = mkOption { + type = types.nullOr types.bool; + default = null; + description = '' + Whether to enable trackpad force click. + ''; + }; + system.defaults.NSGlobalDomain."com.apple.springing.enabled" = mkOption { type = types.nullOr types.bool; default = null; diff --git a/modules/system/defaults/trackpad.nix b/modules/system/defaults/trackpad.nix index edb637543..354cfc669 100644 --- a/modules/system/defaults/trackpad.nix +++ b/modules/system/defaults/trackpad.nix @@ -63,5 +63,14 @@ with lib; ''; }; + system.defaults.trackpad.TrackpadThreeFingerTapGesture = mkOption { + type = types.nullOr (types.enum [ 0 2 ]); + default = null; + description = '' + 0 to disable three finger tap, 2 to trigger Look up & data detectors. + The default is 2. + ''; + }; + }; }