1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2024-12-14 11:57:34 +00:00

(feat) Add additional option introduced in macOS Sonoma to disable mouse accel

This commit is contained in:
Mohammad Al-Ahdal 2024-08-19 12:33:04 -06:00
parent 076b9a905a
commit 56e31e5ccc
No known key found for this signature in database

View file

@ -25,7 +25,17 @@ in {
example = -1.0;
description = ''
Sets the mouse tracking speed. Found in the "Mouse" section of
"System Preferences". Set to -1.0 to disable mouse acceleration.
"System Preferences". Set to -1.0 to disable mouse acceleration on versions of macOS before 14.0.
'';
};
system.defaults.".GlobalPreferences"."com.apple.mouse.linear" =
mkOption {
type = types.nullOr types.bool;
default = null;
description = ''
Sets whether the pointer precision is turned on or off. Found in the "Mouse" section of
"System Preferences" under the "Advanced" tab. Set to true to enable pointer precision.
'';
};
};