nixos/xdg/icons: use profileRelativeSessionVariables
This commit is contained in:
parent
671404509b
commit
df56adac53
@ -7,19 +7,19 @@ with lib;
|
|||||||
type = types.bool;
|
type = types.bool;
|
||||||
default = true;
|
default = true;
|
||||||
description = ''
|
description = ''
|
||||||
Whether to install files to support the
|
Whether to install files to support the
|
||||||
<link xlink:href="https://specifications.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html">XDG Icon Theme specification</link>.
|
<link xlink:href="https://specifications.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html">XDG Icon Theme specification</link>.
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
config = mkIf config.xdg.icons.enable {
|
config = mkIf config.xdg.icons.enable {
|
||||||
environment.pathsToLink = [
|
environment.pathsToLink = [
|
||||||
"/share/icons"
|
"/share/icons"
|
||||||
"/share/pixmaps"
|
"/share/pixmaps"
|
||||||
];
|
];
|
||||||
|
|
||||||
environment.profileRelativeEnvVars = {
|
environment.profileRelativeSessionVariables = {
|
||||||
XCURSOR_PATH = [ "/share/icons" ];
|
XCURSOR_PATH = [ "/share/icons" ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user