From f567a43bc022b0fc4a6623763d55c6463c6262de Mon Sep 17 00:00:00 2001 From: Jack O'Sullivan Date: Sun, 15 Nov 2026 19:49:16 +0000 Subject: [PATCH] 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 --- nixos/modules/common.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nixos/modules/common.nix b/nixos/modules/common.nix index a12a8fc..f6fd7b9 100644 --- a/nixos/modules/common.nix +++ b/nixos/modules/common.nix @@ -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;