From 209cbf9fc7e7d70d254abf457f154a934201f420 Mon Sep 17 00:00:00 2001 From: Yegor Timoshenko Date: Mon, 18 Dec 2017 01:08:28 +0000 Subject: [PATCH] xfce: SVG icon support in xfce4-panel, fixes #18536 Thanks to Yuriy Pitomets, Jonathan Curran, and David Kleuker. --- nixos/modules/services/x11/desktop-managers/xfce.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nixos/modules/services/x11/desktop-managers/xfce.nix b/nixos/modules/services/x11/desktop-managers/xfce.nix index 9c42dc8781b9..8c108bfddc63 100644 --- a/nixos/modules/services/x11/desktop-managers/xfce.nix +++ b/nixos/modules/services/x11/desktop-managers/xfce.nix @@ -124,6 +124,9 @@ in [ "/share/xfce4" "/share/themes" "/share/mime" "/share/desktop-directories" "/share/gtksourceview-2.0" ]; environment.variables.GIO_EXTRA_MODULES = [ "${pkgs.xfce.gvfs}/lib/gio/modules" ]; + environment.variables.GDK_PIXBUF_MODULE_FILE = [ + "$(echo ${pkgs.librsvg.out}/lib/gdk-pixbuf-*/*/loaders.cache)" + ]; # Enable helpful DBus services. services.udisks2.enable = true;