summaryrefslogtreecommitdiffstats
path: root/nixos/modules/services/x11
diff options
context:
space:
mode:
authorRaymond Gauthier <jraygauthier@gmail.com>2022-10-03 17:24:54 -0400
committerBobby Rong <rjl931189261@126.com>2024-04-14 13:49:09 +0800
commit4ae12930f24eff5a06aa211063028c80385868ec (patch)
tree68d5872bba96cb35fd573e38b2ca7b97df06819b /nixos/modules/services/x11
parent1042fd8b148a9105f3c0aca3a6177fd1d9360ba5 (diff)
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.
Diffstat (limited to 'nixos/modules/services/x11')
-rw-r--r--nixos/modules/services/x11/desktop-managers/xfce.nix2
1 files changed, 1 insertions, 1 deletions
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=$!