From 965aa6ecafa517fbb9fef054a91dbd6b9bdef5fe Mon Sep 17 00:00:00 2001 From: "Chinmay D. Pai" Date: Sun, 29 Sep 2024 23:26:04 +0530 Subject: [PATCH] chore: reduce boot configuration limit to 5 Setting it to 10 does not play well with srvos, since it uses lib.mkDefault to set it to 10 as well. And anyways, we don't need 10 generations to show up during the boot menu. Signed-off-by: Chinmay D. Pai --- modules/nixos/core/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/nixos/core/default.nix b/modules/nixos/core/default.nix index 74e8925..38ce217 100644 --- a/modules/nixos/core/default.nix +++ b/modules/nixos/core/default.nix @@ -51,8 +51,8 @@ # Use systemd-boot for all systems. systemd-boot = { enable = true; - # Show only last 10 configurations in the boot menu. - configurationLimit = lib.mkDefault 10; + # Show only last 5 configurations in the boot menu. + configurationLimit = lib.mkDefault 5; }; }; };