mirror of
https://github.com/LnL7/nix-darwin.git
synced 2025-03-06 08:47:00 +00:00
56 lines
1.4 KiB
Nix
56 lines
1.4 KiB
Nix
{ config, lib, ... }:
|
|
|
|
with lib;
|
|
|
|
{
|
|
options = {
|
|
|
|
system.defaults.universalaccess.mouseDriverCursorSize = mkOption {
|
|
type = types.nullOr types.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.reduceMotion = mkOption {
|
|
type = types.nullOr types.bool;
|
|
default = null;
|
|
description = ''
|
|
Disable animation when switching screens or opening apps
|
|
'';
|
|
};
|
|
|
|
system.defaults.universalaccess.reduceTransparency = mkOption {
|
|
type = types.nullOr types.bool;
|
|
default = null;
|
|
description = ''
|
|
Disable transparency in the menu bar and elsewhere.
|
|
Requires macOS Yosemite or later.
|
|
The default is false.
|
|
'';
|
|
};
|
|
|
|
system.defaults.universalaccess.closeViewScrollWheelToggle = mkOption {
|
|
type = types.nullOr types.bool;
|
|
default = null;
|
|
description = ''
|
|
Use scroll gesture with the Ctrl (^) modifier key to zoom.
|
|
The default is false.
|
|
'';
|
|
};
|
|
|
|
system.defaults.universalaccess.closeViewZoomFollowsFocus = mkOption {
|
|
type = types.nullOr types.bool;
|
|
default = null;
|
|
description = ''
|
|
Follow the keyboard focus while zoomed in.
|
|
Without setting `closeViewScrollWheelToggle` this has no effect.
|
|
The default is false.
|
|
'';
|
|
};
|
|
|
|
};
|
|
}
|