From 53d3cd62a81188a9e7399c7f0a991a1af37fca77 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Sat, 3 Nov 2018 17:35:31 +0100 Subject: [PATCH] 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. --- desktop.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/desktop.nix b/desktop.nix index 61d2482c4..07a6274a5 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