From 54245e1820caabd8a0b53ce4d47e4d0fefe04cd4 Mon Sep 17 00:00:00 2001 From: polykernel <81340136+polykernel@users.noreply.github.com> Date: Tue, 3 Jan 2023 16:21:40 -0500 Subject: [PATCH] home.pointerCursor: use mkDefault to set XCURSOR_PATH (#3553) fixes https://github.com/nix-community/home-manager/issues/3551 --- modules/config/home-cursor.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/config/home-cursor.nix b/modules/config/home-cursor.nix index d8cbb5390..a24677369 100644 --- a/modules/config/home-cursor.nix +++ b/modules/config/home-cursor.nix @@ -131,8 +131,8 @@ in { # https://github.com/nix-community/home-manager/issues/2812 # https://wiki.archlinux.org/title/Cursor_themes#Environment_variable home.sessionVariables = { - XCURSOR_PATH = "$XCURSOR_PATH\${XCURSOR_PATH:+:}" - + "${config.home.profileDirectory}/share/icons"; + XCURSOR_PATH = mkDefault ("$XCURSOR_PATH\${XCURSOR_PATH:+:}" + + "${config.home.profileDirectory}/share/icons"); }; }