From 5777272bd2f4bde3ec9b048c0da3c388a8e0239e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tor=20Hedin=20Br=C3=B8nner?= Date: Wed, 2 May 2018 23:10:43 +0200 Subject: [PATCH] nixos/plymouth: multi-user.target wants plymouth-quit-wait.service MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This is apparent from the service file directory in plymouth: ├── multi-user.target.wants │ ├── plymouth-quit.service -> ../plymouth-quit.service │ └── plymouth-quit-wait.service -> ../plymouth-quit-wait.service Leaving it unspecified caused gdm-wayland to crash on boot, see #39615. The change made other display managers not quit plymouth properly however. By removing "multi-user.target" from `plymouth-quit.after` this is resolved. --- nixos/modules/system/boot/plymouth.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nixos/modules/system/boot/plymouth.nix b/nixos/modules/system/boot/plymouth.nix index f8fb8a64cb9..e4223bae7d3 100644 --- a/nixos/modules/system/boot/plymouth.nix +++ b/nixos/modules/system/boot/plymouth.nix @@ -87,9 +87,10 @@ in systemd.services.plymouth-kexec.wantedBy = [ "kexec.target" ]; systemd.services.plymouth-halt.wantedBy = [ "halt.target" ]; + systemd.services.plymouth-quit-wait.wantedBy = [ "multi-user.target" ]; systemd.services.plymouth-quit = { wantedBy = [ "multi-user.target" ]; - after = [ "display-manager.service" "multi-user.target" ]; + after = [ "display-manager.service" ]; }; systemd.services.plymouth-poweroff.wantedBy = [ "poweroff.target" ]; systemd.services.plymouth-reboot.wantedBy = [ "reboot.target" ];