Merge pull request #133563 from NixOS/backport-133204-to-release-21.05
[Backport release-21.05] nixos/xserver: fix a display-manager race condition
This commit is contained in:
commit
7bd542a5e9
|
@ -675,7 +675,7 @@ in
|
||||||
systemd.services.display-manager =
|
systemd.services.display-manager =
|
||||||
{ description = "X11 Server";
|
{ description = "X11 Server";
|
||||||
|
|
||||||
after = [ "acpid.service" "systemd-logind.service" ];
|
after = [ "acpid.service" "systemd-logind.service" "systemd-user-sessions.service" ];
|
||||||
|
|
||||||
restartIfChanged = false;
|
restartIfChanged = false;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue