From 6cbe6bc2da267273c55ee08eaaeebfbc7dfcdf30 Mon Sep 17 00:00:00 2001 From: Henrique Goncalves Date: Thu, 23 May 2024 16:40:17 -0300 Subject: [PATCH 1/5] Update trackpad.nix --- modules/system/defaults/trackpad.nix | 9 +++++++++ 1 file changed, 9 insertions(+) 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. + ''; + }; + }; } From 120e085d1ac1b15a5cffc1f980f49665f211e080 Mon Sep 17 00:00:00 2001 From: Henrique Goncalves Date: Thu, 23 May 2024 16:42:31 -0300 Subject: [PATCH 2/5] Update NSGlobalDomain.nix --- modules/system/defaults/NSGlobalDomain.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/modules/system/defaults/NSGlobalDomain.nix b/modules/system/defaults/NSGlobalDomain.nix index cd008e0ba..9b61eb6a6 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 = '' + Wheter to enable trackpad force click. + ''; + }; + system.defaults.NSGlobalDomain."com.apple.springing.enabled" = mkOption { type = types.nullOr types.bool; default = null; From 0e5fc0028b278f23db0de9ea75d8a1a9b1f9dcf8 Mon Sep 17 00:00:00 2001 From: Henrique Goncalves Date: Thu, 23 May 2024 16:50:15 -0300 Subject: [PATCH 3/5] Update NSGlobalDomain.nix --- modules/system/defaults/NSGlobalDomain.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/system/defaults/NSGlobalDomain.nix b/modules/system/defaults/NSGlobalDomain.nix index 9b61eb6a6..0a8fb63c0 100644 --- a/modules/system/defaults/NSGlobalDomain.nix +++ b/modules/system/defaults/NSGlobalDomain.nix @@ -343,7 +343,7 @@ in { }; system.defaults.NSGlobalDomain."com.apple.trackpad.forceClick" = mkOption { - type = types.nullOr types.bool; + type = types.nullOr (types.enum [ 0 1 ]); default = null; description = '' Wheter to enable trackpad force click. From 2e0f9a9e500addf92844f09a4970617629c53cf1 Mon Sep 17 00:00:00 2001 From: Henrique Goncalves Date: Thu, 23 May 2024 16:56:43 -0300 Subject: [PATCH 4/5] Update NSGlobalDomain.nix --- modules/system/defaults/NSGlobalDomain.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/system/defaults/NSGlobalDomain.nix b/modules/system/defaults/NSGlobalDomain.nix index 0a8fb63c0..f2f3aa4da 100644 --- a/modules/system/defaults/NSGlobalDomain.nix +++ b/modules/system/defaults/NSGlobalDomain.nix @@ -346,7 +346,7 @@ in { type = types.nullOr (types.enum [ 0 1 ]); default = null; description = '' - Wheter to enable trackpad force click. + Whether to enable trackpad force click. ''; }; From 9639c5509b148381c5d832204a1d3704b7d7ec60 Mon Sep 17 00:00:00 2001 From: Henrique Goncalves Date: Sat, 25 May 2024 03:14:18 -0300 Subject: [PATCH 5/5] Update modules/system/defaults/NSGlobalDomain.nix Co-authored-by: Michael Hoang --- modules/system/defaults/NSGlobalDomain.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/system/defaults/NSGlobalDomain.nix b/modules/system/defaults/NSGlobalDomain.nix index f2f3aa4da..9eb31d5cf 100644 --- a/modules/system/defaults/NSGlobalDomain.nix +++ b/modules/system/defaults/NSGlobalDomain.nix @@ -343,7 +343,7 @@ in { }; system.defaults.NSGlobalDomain."com.apple.trackpad.forceClick" = mkOption { - type = types.nullOr (types.enum [ 0 1 ]); + type = types.nullOr types.bool; default = null; description = '' Whether to enable trackpad force click.