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

56 lines
1.4 KiB
Nix
Raw Normal View History

{ config, lib, ... }:
with lib;
{
options = {
system.defaults.universalaccess.mouseDriverCursorSize = mkOption {
2023-05-27 00:37:51 +08:00
type = types.nullOr types.float;
default = null;
example = 1.5;
2024-04-14 23:02:32 +02:00
description = ''
Set the size of cursor. 1 for normal, 4 for maximum.
The default is 1.
'';
};
2023-11-29 21:13:20 -10:00
system.defaults.universalaccess.reduceMotion = mkOption {
type = types.nullOr types.bool;
default = null;
2024-04-14 23:02:32 +02:00
description = ''
2023-11-29 21:13:20 -10:00
Disable animation when switching screens or opening apps
'';
};
system.defaults.universalaccess.reduceTransparency = mkOption {
type = types.nullOr types.bool;
default = null;
2024-04-14 23:02:32 +02:00
description = ''
Disable transparency in the menu bar and elsewhere.
The default is false.
'';
};
system.defaults.universalaccess.closeViewScrollWheelToggle = mkOption {
type = types.nullOr types.bool;
default = null;
2024-04-14 23:02:32 +02:00
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;
2024-04-14 23:02:32 +02:00
description = ''
Follow the keyboard focus while zoomed in.
Without setting `closeViewScrollWheelToggle` this has no effect.
The default is false.
'';
};
};
}