From f6cf46f7bc02650fb027b4e997dfc1365f4c8ff9 Mon Sep 17 00:00:00 2001 From: Austin Horstman Date: Fri, 29 Dec 2023 14:08:34 -0600 Subject: [PATCH] GlobalPreferences: fix mouse scaling example --- modules/system/defaults/GlobalPreferences.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/system/defaults/GlobalPreferences.nix b/modules/system/defaults/GlobalPreferences.nix index 32841bede..a9758022a 100644 --- a/modules/system/defaults/GlobalPreferences.nix +++ b/modules/system/defaults/GlobalPreferences.nix @@ -22,10 +22,10 @@ in { mkOption { type = types.nullOr floatWithDeprecationError; default = null; - example = -1; + example = -1.0; description = lib.mdDoc '' Sets the mouse tracking speed. Found in the "Mouse" section of - "System Preferences". Set to -1 to disable mouse acceleration. + "System Preferences". Set to -1.0 to disable mouse acceleration. ''; }; };