nixos/xserver: fix a display-manager race condition

(cherry picked from commit 358ab44a457aba9b227764742badbf1882028676)
This commit is contained in:
Johannes Arnold 2021-08-09 23:10:15 +02:00 committed by github-actions[bot]
parent 658f8be372
commit 8404ac09e7
1 changed files with 1 additions and 1 deletions

View File

@ -675,7 +675,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;