1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2025-03-06 16:57:08 +00:00
nix-darwin/modules/system/defaults/universalaccess.nix
2023-12-01 15:10:10 -05:00

56 lines
1.5 KiB
Nix

{ config, lib, ... }:
with lib;
{
options = {
system.defaults.universalaccess.mouseDriverCursorSize = mkOption {
type = types.nullOr types.float;
default = null;
example = 1.5;
description = lib.mdDoc ''
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 = lib.mdDoc ''
Disable animation when switching screens or opening apps
'';
};
system.defaults.universalaccess.reduceTransparency = mkOption {
type = types.nullOr types.bool;
default = null;
description = lib.mdDoc ''
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 = lib.mdDoc ''
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 = lib.mdDoc ''
Follow the keyboard focus while zoomed in.
Without setting `closeViewScrollWheelToggle` this has no effect.
The default is false.
'';
};
};
}