From 4ae12930f24eff5a06aa211063028c80385868ec Mon Sep 17 00:00:00 2001 From: Raymond Gauthier Date: Mon, 3 Oct 2022 17:24:54 -0400 Subject: [PATCH] nixos/xfce: `bgSupport = !noDesktop` The Xfce desktop manager only has background image support when `xfdesktop` is used. Otherwise, we want the possibility to specify a custom background via the `~/.background-image` file. --- nixos/modules/services/x11/desktop-managers/xfce.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/x11/desktop-managers/xfce.nix b/nixos/modules/services/x11/desktop-managers/xfce.nix index 3ba27b201507..965b560bf13c 100644 --- a/nixos/modules/services/x11/desktop-managers/xfce.nix +++ b/nixos/modules/services/x11/desktop-managers/xfce.nix @@ -145,7 +145,7 @@ in services.xserver.desktopManager.session = [{ name = "xfce"; desktopNames = [ "XFCE" ]; - bgSupport = true; + bgSupport = !cfg.noDesktop; start = '' ${pkgs.runtimeShell} ${pkgs.xfce.xfce4-session.xinitrc} & waitPID=$!