From 6ff2beccc9be319c968e01da58ced06f616d2737 Mon Sep 17 00:00:00 2001 From: Mateus Pegorim Date: Sun, 5 Jul 2026 19:56:27 -0300 Subject: [PATCH] Align MAX_SNAPSHOT_ENTRIES with Snapper retention Snapper is configured with NUMBER_LIMIT="5", but limine-snapper-sync also counts the freshly-created / currently-booted snapshot, so five retained snapshots are reported as six entries and it warns on every snapshot and update: Snapshot limit mismatch: 6 Snapper snapshots exceed configured MAX_SNAPSHOT_ENTRIES=5 Raise MAX_SNAPSHOT_ENTRIES to 6 (NUMBER_LIMIT + 1) so the boot-menu cap and Snapper's retention agree and the off-by-one warning stops. (An alternative is MAX_SNAPSHOT_ENTRIES=auto, which derives the cap from Snapper directly; kept an explicit value here to preserve the existing boot-menu limit.) Co-Authored-By: Claude --- etc/limine-entry-tool.d/omarchy-defaults.conf | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/etc/limine-entry-tool.d/omarchy-defaults.conf b/etc/limine-entry-tool.d/omarchy-defaults.conf index 01e4044c60..6b3583a3e6 100644 --- a/etc/limine-entry-tool.d/omarchy-defaults.conf +++ b/etc/limine-entry-tool.d/omarchy-defaults.conf @@ -10,6 +10,12 @@ FIND_BOOTLOADERS=yes BOOT_ORDER="*, *fallback, Snapshots" -MAX_SNAPSHOT_ENTRIES=5 +# Snapper is configured with NUMBER_LIMIT="5" (see default/snapper/root). +# limine-snapper-sync also counts the freshly-created / currently-booted +# snapshot, so a steady state of 5 retained snapshots is seen as 6 entries. +# Keep this one above the Snapper limit so the counts do not mismatch: +# Snapshot limit mismatch: 6 Snapper snapshots exceed configured +# MAX_SNAPSHOT_ENTRIES=5 +MAX_SNAPSHOT_ENTRIES=6 SNAPSHOT_FORMAT_CHOICE=5