From df56adac5342004133607a2cf6050e59bbc018c0 Mon Sep 17 00:00:00 2001 From: worldofpeace Date: Wed, 11 Sep 2019 06:39:20 -0400 Subject: [PATCH] nixos/xdg/icons: use profileRelativeSessionVariables --- nixos/modules/config/xdg/icons.nix | 12 ++++++------ 1 file 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 XDG Icon Theme specification. ''; }; }; 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" ]; }; };