mirror of
https://github.com/nix-community/home-manager.git
synced 2025-03-18 14:28:15 +00:00
targets/generic-linux: use home.sessionSearchVariables for XCURSOR_PATH
This commit is contained in:
parent
5094e32cce
commit
ab56fd8db8
1 changed files with 6 additions and 7 deletions
|
@ -47,13 +47,12 @@ in {
|
||||||
# We need to append system-wide FHS directories due to the default prefix
|
# We need to append system-wide FHS directories due to the default prefix
|
||||||
# resolving to the Nix store.
|
# resolving to the Nix store.
|
||||||
# https://github.com/nix-community/home-manager/pull/2891#issuecomment-1101064521
|
# https://github.com/nix-community/home-manager/pull/2891#issuecomment-1101064521
|
||||||
home.sessionVariables = {
|
home.sessionSearchVariables = {
|
||||||
XCURSOR_PATH = "$XCURSOR_PATH\${XCURSOR_PATH:+:}"
|
XCURSOR_PATH = [
|
||||||
+ lib.concatStringsSep ":" [
|
"${config.home.profileDirectory}/share/icons"
|
||||||
"${config.home.profileDirectory}/share/icons"
|
"/usr/share/icons"
|
||||||
"/usr/share/icons"
|
"/usr/share/pixmaps"
|
||||||
"/usr/share/pixmaps"
|
];
|
||||||
];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
home.sessionVariablesExtra = ''
|
home.sessionVariablesExtra = ''
|
||||||
|
|
Loading…
Add table
Reference in a new issue