nixos/common: Disable bootvine in containers
Update docs / update (push) Successful in 1m6s
CI / Check, build and cache nixfiles (push) Successful in 43m36s

bootvine attaches to a console TTY, which nspawn containers do not
have, so the unit fails and leaves containers degraded.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-15 19:49:56 +00:00
co-authored by Claude Opus 5.5
parent 3f63cf5938
commit f567a43bc0
+2 -1
View File
@@ -178,7 +178,8 @@ in
} else { };
getty.greetingLine = mkDefault' ''<<< Welcome to ${config.system.nixos.distroName} ${config.system.nixos.label} (\m) - \l >>>'';
bootvine.enable = true;
# Needs a console TTY, which containers don't have
bootvine.enable = !config.boot.isContainer;
openssh = {
enable = mkDefault true;