summaryrefslogtreecommitdiff
path: root/modules/system
diff options
context:
space:
mode:
authorDaiderd Jordan <daiderd@gmail.com>2020-11-26 19:53:08 +0100
committerGitHub <noreply@github.com>2020-11-26 19:53:08 +0100
commite1064b0c695b9c653caf15218535177dff6a4c71 (patch)
tree7bd1aba9c8759803eaee3028970b1f108a8d7f55 /modules/system
parent6bd5208e7ffd141f2b2c4bd639e11ca5b96aec8c (diff)
parent5d0ed66ba9bcb63ad2e92011929ed347c2746b00 (diff)
Merge pull request #251 from awseward/awseward/SwipeNavigateWithScrolls
Add options for MacOS swipe navigation
Diffstat (limited to 'modules/system')
-rw-r--r--modules/system/defaults/NSGlobalDomain.nix16
1 files changed, 16 insertions, 0 deletions
diff --git a/modules/system/defaults/NSGlobalDomain.nix b/modules/system/defaults/NSGlobalDomain.nix
index 3cb04f2..6e3d4db 100644
--- a/modules/system/defaults/NSGlobalDomain.nix
+++ b/modules/system/defaults/NSGlobalDomain.nix
@@ -15,6 +15,22 @@ let
in {
options = {
+ system.defaults.NSGlobalDomain.AppleEnableMouseSwipeNavigateWithScrolls = mkOption {
+ type = types.nullOr types.bool;
+ default = null;
+ description = ''
+ Enables swiping left or right with two fingers to navigate backward or forward. The default is true.
+ '';
+ };
+
+ system.defaults.NSGlobalDomain.AppleEnableSwipeNavigateWithScrolls = mkOption {
+ type = types.nullOr types.bool;
+ default = null;
+ description = ''
+ Enables swiping left or right with two fingers to navigate backward or forward. The default is true.
+ '';
+ };
+
system.defaults.NSGlobalDomain.AppleFontSmoothing = mkOption {
type = types.nullOr (types.enum [ 0 1 2 ]);
default = null;