about summary refs log tree commit diff
path: root/nixos/modules/services/x11/desktop-managers/xfce.nix
diff options
context:
space:
mode:
authorChristoph Ruegge <c.ruegge@math.uni-goettingen.de>2016-04-25 23:37:18 +0200
committerChristoph Ruegge <c.ruegge@math.uni-goettingen.de>2016-04-25 23:37:18 +0200
commit769a33bedd909dd9f482d9cbb957e400fd3bac88 (patch)
tree3be89cb81bdabe9d18d6ad99bd4a28bdcda02983 /nixos/modules/services/x11/desktop-managers/xfce.nix
parentf270af1acd52e01f76295def42302bb8535f9c58 (diff)
downloadnixlib-769a33bedd909dd9f482d9cbb957e400fd3bac88.tar
nixlib-769a33bedd909dd9f482d9cbb957e400fd3bac88.tar.gz
nixlib-769a33bedd909dd9f482d9cbb957e400fd3bac88.tar.bz2
nixlib-769a33bedd909dd9f482d9cbb957e400fd3bac88.tar.lz
nixlib-769a33bedd909dd9f482d9cbb957e400fd3bac88.tar.xz
nixlib-769a33bedd909dd9f482d9cbb957e400fd3bac88.tar.zst
nixlib-769a33bedd909dd9f482d9cbb957e400fd3bac88.zip
xsession: make updating DBus environment optional
Diffstat (limited to 'nixos/modules/services/x11/desktop-managers/xfce.nix')
-rw-r--r--nixos/modules/services/x11/desktop-managers/xfce.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/nixos/modules/services/x11/desktop-managers/xfce.nix b/nixos/modules/services/x11/desktop-managers/xfce.nix
index 33b6dd32c193..60934ed5f190 100644
--- a/nixos/modules/services/x11/desktop-managers/xfce.nix
+++ b/nixos/modules/services/x11/desktop-managers/xfce.nix
@@ -42,10 +42,13 @@ in
             # Set GTK_DATA_PREFIX so that GTK+ can find the Xfce themes.
             export GTK_DATA_PREFIX=${config.system.path}
 
-            exec ${pkgs.stdenv.shell} ${pkgs.xfce.xinitrc}
+            ${pkgs.stdenv.shell} ${pkgs.xfce.xinitrc} &
+            waitPID=$!
           '';
       };
 
+    services.xserver.updateDbusEnvironment = true;
+
     environment.systemPackages =
       [ pkgs.gtk # To get GTK+'s themes.
         pkgs.hicolor_icon_theme