From 29eceee7eb25c6cc41326977b95c2e2aa7168bf7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20Schr=C3=B6ter?= Date: Mon, 15 Sep 2025 20:14:55 +0200 Subject: [PATCH] feat(system): set systemd-boot configuration limit to 10 In addition to Nix garbage collection based on age, this will keep the boot partition from running full with too many generations. --- system/boot.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/system/boot.nix b/system/boot.nix index 126ef4c..9e796b2 100644 --- a/system/boot.nix +++ b/system/boot.nix @@ -4,6 +4,7 @@ boot.supportedFilesystems = lib.mkDefault [ "btrfs" ]; boot.kernelPackages = lib.mkOverride 800 pkgs.linuxPackages_latest; boot.loader.systemd-boot.enable = true; + boot.loader.systemd-boot.configurationLimit = 10; boot.loader.efi.canTouchEfiVariables = true; boot.initrd.systemd.enable = true;