feat: follow shutdowns on the boot console

This commit is contained in:
Willem Vanhulle committed 2026-10-11 20:16:16 +02:00
1 parent 74af283d57
commit 3fc9e2235c
16 files changed
+431 -103

No files matched your search

+3 -1
View File
@@ -28,7 +28,8 @@ in
a live dependency tree of systemd jobs on the boot console. With a
systemd initrd it starts there and survives the switch to the real root;
otherwise it starts in stage 2. It hands the console back once the
display manager starts or the default target is reached
display manager starts or the default target is reached, and comes back
for shutdown until systemd hands over to systemd-shutdown
'';
package = lib.mkOption {
@@ -58,6 +59,7 @@ in
systemd = {
packages = [ cfg.package ];
services.bootvine.wantedBy = [ "sysinit.target" ];
services.bootvine-shutdown.wantedBy = [ "shutdown.target" ];
};
boot.initrd.systemd = lib.mkIf config.boot.initrd.systemd.enable {