mirror of
https://github.com/nix-community/home-manager
synced 2024-11-15 23:59:45 +01:00
targets/generic-linux: use home.sessionSearchVariables for XCURSOR_PATH
This commit is contained in:
parent
5921a96caf
commit
1e030277ba
1 changed files with 2 additions and 6 deletions
|
@ -48,12 +48,8 @@ in {
|
|||
# We need to append system-wide FHS directories due to the default prefix
|
||||
# resolving to the Nix store.
|
||||
# https://github.com/nix-community/home-manager/pull/2891#issuecomment-1101064521
|
||||
home.sessionVariables = {
|
||||
XCURSOR_PATH = "$XCURSOR_PATH\${XCURSOR_PATH:+:}" + concatStringsSep ":" [
|
||||
"${config.home.profileDirectory}/share/icons"
|
||||
"/usr/share/icons"
|
||||
"/usr/share/pixmaps"
|
||||
];
|
||||
home.sessionSearchVariables = {
|
||||
XCURSOR_PATH = [ "/usr/share/icons" "/usr/share/pixmaps" ];
|
||||
};
|
||||
|
||||
home.sessionVariablesExtra = ''
|
||||
|
|
Loading…
Reference in a new issue