feat: only keep the previous 5 generations bootable

This commit is contained in:
2025-09-27 12:39:07 +05:00
parent ca47e15309
commit 63a06ca3ec
3 changed files with 42 additions and 34 deletions

View File

@@ -40,6 +40,11 @@
description = "Whether or not secure boot has been enabled";
default = false;
};
bootHistoryLimit = lib.mkOption {
type = lib.types.int;
description = "How many generations to keep bootable in history";
default = 3;
};
impermanance = lib.mkOption {
type = lib.types.bool;
description = "Whether or not to enable impermenance";