git.iko.soy/typeable/nixpkgs
on master help sign in
nixos/xdg/icons: use profileRelativeSessionVariables
df56adaworldofpeace
nixos/modules/config/xdg/icons.nix+6−6
@@ -7,19 +7,19 @@ with lib;
7 type = types.bool;
7 type = types.bool;
8 default = true;
8 default = true;
9 description = ''
9 description = ''
10− Whether to install files to support the
10+ Whether to install files to support the
11 <link xlink:href="https://specifications.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html">XDG Icon Theme specification</link>.
11 <link xlink:href="https://specifications.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html">XDG Icon Theme specification</link>.
12 '';
12 '';
13 };
13 };
14 };
14 };
15
15
16 config = mkIf config.xdg.icons.enable {
16 config = mkIf config.xdg.icons.enable {
17− environment.pathsToLink = [
17+ environment.pathsToLink = [
18− "/share/icons"
18+ "/share/icons"
19− "/share/pixmaps"
19+ "/share/pixmaps"
20 ];
20 ];
21−
21+
22− environment.profileRelativeEnvVars = {
22+ environment.profileRelativeSessionVariables = {
23 XCURSOR_PATH = [ "/share/icons" ];
23 XCURSOR_PATH = [ "/share/icons" ];
24 };
24 };
25 };
25 };