diff options
author | worldofpeace <worldofpeace@protonmail.ch> | 2019-09-11 06:39:20 -0400 |
---|---|---|
committer | worldofpeace <worldofpeace@protonmail.ch> | 2019-09-18 11:13:42 -0400 |
commit | df56adac5342004133607a2cf6050e59bbc018c0 (patch) | |
tree | c1db6f96b2f9d808e986690b3de0c19cf9922aaf /nixos/modules/config | |
parent | 671404509bff0229d2ae85e33b70e90dd324ef49 (diff) |
nixos/xdg/icons: use profileRelativeSessionVariables
Diffstat (limited to 'nixos/modules/config')
-rw-r--r-- | nixos/modules/config/xdg/icons.nix | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/nixos/modules/config/xdg/icons.nix b/nixos/modules/config/xdg/icons.nix index 8268a3771a0e..cc82b9e94f9a 100644 --- a/nixos/modules/config/xdg/icons.nix +++ b/nixos/modules/config/xdg/icons.nix @@ -7,19 +7,19 @@ with lib; type = types.bool; default = true; 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>. ''; }; }; config = mkIf config.xdg.icons.enable { - environment.pathsToLink = [ - "/share/icons" - "/share/pixmaps" + environment.pathsToLink = [ + "/share/icons" + "/share/pixmaps" ]; - - environment.profileRelativeEnvVars = { + + environment.profileRelativeSessionVariables = { XCURSOR_PATH = [ "/share/icons" ]; }; }; |