From 37736ba403131717c4258eb95f3ca51798cffdaa Mon Sep 17 00:00:00 2001 From: Flameopathic <64027365+Flameopathic@users.noreply.github.com> Date: Thu, 29 May 2025 13:52:17 -0400 Subject: [PATCH] home-manager: cast cursor size to int (#1401) Link: https://github.com/nix-community/stylix/pull/1401 Reviewed-by: awwpotato --- stylix/hm/cursor.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/stylix/hm/cursor.nix b/stylix/hm/cursor.nix index f1efa94f..0f23201b 100644 --- a/stylix/hm/cursor.nix +++ b/stylix/hm/cursor.nix @@ -19,7 +19,8 @@ in ) { home.pointerCursor = { - inherit (cfg) name package size; + inherit (cfg) name package; + size = builtins.floor (cfg.size + 0.5); x11.enable = true; gtk.enable = true; };