cursor: fix coercion error

Fixes #2934
This commit is contained in:
Robert Helgesson 2022-05-04 10:16:32 +02:00
parent c13ffa3ed4
commit 267462dfb3
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89

View file

@ -131,9 +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 = mkDefault ("$XCURSOR_PATH\${XCURSOR_PATH:+:}"
+ concatStringsSep ":"
[ "${config.home.profileDirectory}/share/icons" ]);
XCURSOR_PATH = "$XCURSOR_PATH\${XCURSOR_PATH:+:}"
+ "${config.home.profileDirectory}/share/icons";
};
}