nixos/xserver: fix a display-manager race condition

This commit is contained in:
Johannes Arnold 2021-08-09 23:10:15 +02:00 committed by Artturin
parent d74960e8db
commit 358ab44a45

View file

@ -681,7 +681,7 @@ in
systemd.services.display-manager =
{ description = "X11 Server";
after = [ "acpid.service" "systemd-logind.service" ];
after = [ "acpid.service" "systemd-logind.service" "systemd-user-sessions.service" ];
restartIfChanged = false;