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.
This commit is contained in:
Vincent Ambo 2018-11-03 17:35:31 +01:00
parent 32fa661a27
commit 53d3cd62a8

View file

@ -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