From 4d38d1094f9ec21634352a888d4238eb824b1c04 Mon Sep 17 00:00:00 2001 From: Noah Masur <7386960+nmasur@users.noreply.github.com> Date: Wed, 8 Mar 2023 17:42:25 -0500 Subject: [PATCH] limit number of configurations not really a big problem, but worth adding just in case --- modules/nixos/hardware/boot.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/nixos/hardware/boot.nix b/modules/nixos/hardware/boot.nix index 47f8b9c..6b4dc2b 100644 --- a/modules/nixos/hardware/boot.nix +++ b/modules/nixos/hardware/boot.nix @@ -13,6 +13,9 @@ # Attempt to display GRUB on widescreen monitor gfxmodeEfi = "1920x1080"; + # Limit the total number of configurations to rollback + configurationLimit = 25; + # Install GRUB onto the boot disk # device = config.fileSystems."/boot".device;