summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorsxyazi <sxyazi@gmail.com>2023-05-27 00:13:47 +0800
committersxyazi <sxyazi@gmail.com>2023-05-27 00:13:47 +0800
commit0ad226e8c37560c971672b87f6632a7bd328ab13 (patch)
treed803c153377f73080429f287c9163a1db1900e28 /modules
parentb8c286c82c6b47826a6c0377e7017052ad91353c (diff)
feat: add `mouseDriverCursorSize` option
Diffstat (limited to 'modules')
-rw-r--r--modules/system/defaults/universalaccess.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/modules/system/defaults/universalaccess.nix b/modules/system/defaults/universalaccess.nix
index 85cae54..029a965 100644
--- a/modules/system/defaults/universalaccess.nix
+++ b/modules/system/defaults/universalaccess.nix
@@ -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;