Skip to content

Commit

Permalink
xfce: resolve conflict with KDE
Browse files Browse the repository at this point in the history
This resolves some aspects of #33231, but GDK_PIXBUF_MODULE_FILE doesn't really belong to any DE module.
  • Loading branch information
lukateras committed Dec 31, 2017
1 parent 64965e8 commit 0dd6bd2
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions nixos/modules/services/x11/desktop-managers/xfce.nix
Expand Up @@ -3,16 +3,13 @@
with lib;

let

xcfg = config.services.xserver;
pcfg = config.hardware.pulseaudio;
cfg = xcfg.desktopManager.xfce;

in

{
options = {

services.xserver.desktopManager.xfce = {
enable = mkOption {
type = types.bool;
Expand Down Expand Up @@ -125,9 +122,7 @@ 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)"
];
environment.variables.GDK_PIXBUF_MODULE_FILE = "${pkgs.librsvg.out}/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache";

# Enable helpful DBus services.
services.udisks2.enable = true;
Expand Down

0 comments on commit 0dd6bd2

Please sign in to comment.