about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2018-11-03T16·35+0100
committerVincent Ambo <mail@tazj.in>2018-11-03T16·35+0100
commit53d3cd62a81188a9e7399c7f0a991a1af37fca77 (patch)
tree9f83fd1ba7162beca6763366aaae44ad6d6b3ff4
parent32fa661a27d5162021289bb14c7f5a8e1f387517 (diff)
fix(desktop): Revert to slim as the display manager
NixOS 18.09 switches from slim to something else (lightdm?) as the
default display manager, however DBUS is broken in that manager if the
session is ever restarted.

This reverts back to slim, which may not look as fancy by default but
it actually works.
-rw-r--r--desktop.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/desktop.nix b/desktop.nix
index 61d2482c446e..07a6274a568c 100644
--- a/desktop.nix
+++ b/desktop.nix
@@ -16,6 +16,9 @@ in {
 
     # Give EXWM permission to control the session.
     displayManager.sessionCommands = "${pkgs.xorg.xhost}/bin/xhost +SI:localuser:$USER";
+
+    # Use the pre 18.09 default display manager (slim)
+    displayManager.slim.enable = true;
   };
 
   # Add a shell script with random screen lock wallpaper selection