mirror of
https://github.com/LnL7/nix-darwin.git
synced 2025-03-05 08:17:01 +00:00
feat: add mouseDriverCursorSize
option
This commit is contained in:
parent
b8c286c82c
commit
0ad226e8c3
2 changed files with 12 additions and 0 deletions
|
@ -5,6 +5,16 @@ with lib;
|
|||
{
|
||||
options = {
|
||||
|
||||
system.defaults.universalaccess.mouseDriverCursorSize = mkOption {
|
||||
type = types.nullOr float;
|
||||
default = null;
|
||||
example = 1.5;
|
||||
description = ''
|
||||
Set the size of cursor. 1 for normal, 4 for maximum.
|
||||
The default is 1.
|
||||
'';
|
||||
};
|
||||
|
||||
system.defaults.universalaccess.reduceTransparency = mkOption {
|
||||
type = types.nullOr types.bool;
|
||||
default = null;
|
||||
|
|
|
@ -48,6 +48,7 @@
|
|||
system.defaults.screensaver.askForPasswordDelay = 5;
|
||||
system.defaults.smb.NetBIOSName = "IMAC-000000";
|
||||
system.defaults.smb.ServerDescription = ''Darwin\\\\U2019s iMac'';
|
||||
system.defaults.universalaccess.mouseDriverCursorSize = 1.5;
|
||||
system.defaults.universalaccess.reduceTransparency = true;
|
||||
system.defaults.universalaccess.closeViewScrollWheelToggle = true;
|
||||
system.defaults.universalaccess.closeViewZoomFollowsFocus = true;
|
||||
|
@ -114,6 +115,7 @@
|
|||
grep "defaults write com.apple.screencapture 'location' -string '/tmp'" ${config.out}/activate-user
|
||||
grep "defaults write com.apple.screensaver 'askForPassword' -bool YES" ${config.out}/activate-user
|
||||
grep "defaults write com.apple.screensaver 'askForPasswordDelay' -int 5" ${config.out}/activate-user
|
||||
grep "defaults write com.apple.universalaccess 'mouseDriverCursorSize' -float 1.5" ${config.out}/activate-user
|
||||
grep "defaults write com.apple.universalaccess 'reduceTransparency' -bool YES" ${config.out}/activate-user
|
||||
grep "defaults write com.apple.universalaccess 'closeViewScrollWheelToggle' -bool YES" ${config.out}/activate-user
|
||||
grep "defaults write com.apple.universalaccess 'closeViewZoomFollowsFocus' -bool YES" ${config.out}/activate-user
|
||||
|
|
Loading…
Add table
Reference in a new issue