nixos/common: Disable bootvine in containers
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:
@@ -178,7 +178,8 @@ in
|
|||||||
} else { };
|
} else { };
|
||||||
getty.greetingLine = mkDefault' ''<<< Welcome to ${config.system.nixos.distroName} ${config.system.nixos.label} (\m) - \l >>>'';
|
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 = {
|
openssh = {
|
||||||
enable = mkDefault true;
|
enable = mkDefault true;
|
||||||
|
|||||||
Reference in New Issue
Block a user