desktop: drop plymouth-quit-wait from boot (6s idle-timeout stall)
This commit is contained in:
parent
a1a25a8b75
commit
1640f642aa
1 changed files with 5 additions and 0 deletions
|
|
@ -26,6 +26,11 @@
|
||||||
# greetd freezes the last splash frame (--retain-splash) right before it
|
# greetd freezes the last splash frame (--retain-splash) right before it
|
||||||
# spawns Hyprland, which then flips straight to the lockscreen.
|
# spawns Hyprland, which then flips straight to the lockscreen.
|
||||||
systemd.services.plymouth-quit.wantedBy = lib.mkForce [ ];
|
systemd.services.plymouth-quit.wantedBy = lib.mkForce [ ];
|
||||||
|
# ...and plymouth-quit-wait must go too: greetd is Type=idle, so it defers
|
||||||
|
# its ExecStart while any job is pending — and the only pending job is
|
||||||
|
# plymouth-quit-wait, which waits for the splash that greetd itself quits.
|
||||||
|
# That circle only broke on systemd's 5s idle timeout, costing 6s of boot.
|
||||||
|
systemd.services.plymouth-quit-wait.wantedBy = lib.mkForce [ ];
|
||||||
systemd.services.greetd = {
|
systemd.services.greetd = {
|
||||||
after = [ "plymouth-start.service" ];
|
after = [ "plymouth-start.service" ];
|
||||||
serviceConfig.ExecStartPre = "-${pkgs.plymouth}/bin/plymouth quit --retain-splash";
|
serviceConfig.ExecStartPre = "-${pkgs.plymouth}/bin/plymouth quit --retain-splash";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue