diff --git a/etc/guix-install.sh b/etc/guix-install.sh index 72b456ee7a..3d9c9f4e58 100755 --- a/etc/guix-install.sh +++ b/etc/guix-install.sh @@ -14,6 +14,7 @@ # Copyright © 2023 Andrew Tropin # Copyright © 2020 David A. Redick # Copyright © 2024 Janneke Nieuwenhuizen +# Copyright © 2024 Tomas Volf <~@wolfsden.cz> # # This file is part of GNU Guix. # @@ -613,6 +614,7 @@ sys_create_init_profile() cat <<"EOF" > /etc/profile.d/zzz-guix.sh # Explicitly initialize XDG base directory variables to ease compatibility # with Guix System: see . +export XCURSOR_PATH="${XCURSOR_PATH:-/usr/local/share/icons:/usr/share/icons}" export XDG_DATA_HOME="${XDG_DATA_HOME:-$HOME/.local/share}" export XDG_CONFIG_HOME="${XDG_CONFIG_HOME:-$HOME/.config}" export XDG_STATE_HOME="${XDG_STATE_HOME:-$HOME/.local/state}"