From 267462dfb36d447421c789a3adf9d460cd09c147 Mon Sep 17 00:00:00 2001 From: Robert Helgesson Date: Wed, 4 May 2022 10:16:32 +0200 Subject: [PATCH] cursor: fix coercion error Fixes #2934 --- modules/config/home-cursor.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/modules/config/home-cursor.nix b/modules/config/home-cursor.nix index 53c99a3cf..5bdfb3add 100644 --- a/modules/config/home-cursor.nix +++ b/modules/config/home-cursor.nix @@ -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"; }; }