From 73c52fbf7b90113e478dec5816bb5ac254bd49e6 Mon Sep 17 00:00:00 2001 From: Will Fancher Date: Tue, 2 Sep 2025 03:29:15 -0400 Subject: [PATCH] nixos/plymouth: Pull ask-password in sysinit This mirrors 'systemd-ask-password-console.path' --- nixos/modules/system/boot/plymouth.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/modules/system/boot/plymouth.nix b/nixos/modules/system/boot/plymouth.nix index 69666edf5890..e111c89f964c 100644 --- a/nixos/modules/system/boot/plymouth.nix +++ b/nixos/modules/system/boot/plymouth.nix @@ -190,8 +190,8 @@ in systemd.services.plymouth-poweroff.wantedBy = [ "poweroff.target" ]; systemd.services.plymouth-reboot.wantedBy = [ "reboot.target" ]; systemd.services.plymouth-read-write.wantedBy = [ "sysinit.target" ]; - systemd.services.systemd-ask-password-plymouth.wantedBy = [ "multi-user.target" ]; - systemd.paths.systemd-ask-password-plymouth.wantedBy = [ "multi-user.target" ]; + systemd.services.systemd-ask-password-plymouth.wantedBy = [ "sysinit.target" ]; + systemd.paths.systemd-ask-password-plymouth.wantedBy = [ "sysinit.target" ]; # Prevent Plymouth taking over the screen during system updates. systemd.services.plymouth-start.restartIfChanged = false;