feat(nixos): boot the last good generation after 3 failed boots

Assisted-by: DeepSeek Harness (claude-opus-5-5)
This commit is contained in:
Ryan Yin committed 2026-11-17 21:05:20 +08:00
1 parent 9b1a716aa8
commit 08a4dd2e21
4 files changed
+15 -1

No files matched your search

+3
View File
@@ -30,6 +30,9 @@ in
"nfs"
];
# Retries need no console: root LUKS unlocks through TPM2 alone (hosts/README.md).
boot.loader.systemd-boot.bootCounting.enable = true;
# KVM for the microVMs and the libvirt domains. AMD-specific: an Intel VM host
# would need kvm-intel instead (see hosts/idols-ai/hardware-intel.nix).
boot.kernelModules = [ "kvm-amd" ];