From 78dcdb6f57d85bdd02944cd6d0ff623fbd8de489 Mon Sep 17 00:00:00 2001 From: Erik Simon Date: Wed, 29 Jul 2026 21:42:59 +0200 Subject: [PATCH] jupiter: cap systemd-boot generations at 2 (eMMC space) common.nix's cap of 5 comes from this box's own 34-generation incident, but at ~5G free on a 29G eMMC even 5 is too many. --- hosts/jupiter/configuration.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hosts/jupiter/configuration.nix b/hosts/jupiter/configuration.nix index b606795..99573f5 100644 --- a/hosts/jupiter/configuration.nix +++ b/hosts/jupiter/configuration.nix @@ -37,6 +37,9 @@ # systemd-boot for UEFI. If ZimaBlade boots legacy/BIOS, switch to grub. boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; + # common.nix's cap of 5 comes from this box's own 34-generation incident, + # but at ~5G free on a 29G eMMC even 5 is too many — override down to 2. + boot.loader.systemd-boot.configurationLimit = lib.mkForce 2; # Root lives on the ZimaBlade eMMC (mmcblk0). nixos-generate-config runs in # the RAM installer and does NOT detect these, so pin them here (merged with