summaryrefslogtreecommitdiff
path: root/modules/system
diff options
context:
space:
mode:
authorDaiderd Jordan <daiderd@gmail.com>2023-06-20 21:55:53 +0200
committerGitHub <noreply@github.com>2023-06-20 21:55:53 +0200
commited275afbbaad9b0670e2aeac3ae542595255d604 (patch)
tree2b1f3912f68c3796cee9832ef3465b12c620253b /modules/system
parent050da23813967ce629bee06b549e534334112ccb (diff)
parent7bf15660ca1febda3b43390d10797e5ad6771323 (diff)
Merge pull request #671 from sxyazi/pr-e0f2168d
Add `mouseDriverCursorSize` option
Diffstat (limited to 'modules/system')
-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..6d6a974 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 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.reduceTransparency = mkOption {
type = types.nullOr types.bool;
default = null;