diff --git a/modules/services/x11/desktop-managers/xfce.nix b/modules/services/x11/desktop-managers/xfce.nix index c7b368125b2b..eccba4ec4809 100644 --- a/modules/services/x11/desktop-managers/xfce.nix +++ b/modules/services/x11/desktop-managers/xfce.nix @@ -82,7 +82,7 @@ in environment.pathsToLink = [ "/share/xfce4" "/share/themes" "/share/mime" "/share/desktop-directories" ]; - environment.shellInit = + environment.shellInit = optionalString isXfce48 '' export GIO_EXTRA_MODULES=${pkgs.xfce.gvfs}/lib/gio/modules '';