plymouth service: stop splash screen before a failure prompt

Changed files
+5
nixos
modules
system
+5
nixos/modules/system/boot/plymouth.nix
···
plymouth update-root-fs --new-root-dir="$targetRoot"
'';
};
}
···
plymouth update-root-fs --new-root-dir="$targetRoot"
'';
+
# `mkBefore` to ensure that any custom prompts would be visible.
+
boot.initrd.preFailCommands = mkBefore ''
+
plymouth quit --wait
+
'';
+
};
}