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:
parent
076b9a905a
commit
56e31e5ccc
1 changed files with 11 additions and 1 deletions
|
@ -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.
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue