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.
This commit is contained in:
Felix Schröter 2025-09-15 20:14:55 +02:00
parent 4a06b455b9
commit 29eceee7eb
Signed by: felschr
GPG key ID: 671E39E6744C807D

View file

@ -4,6 +4,7 @@
boot.supportedFilesystems = lib.mkDefault [ "btrfs" ]; boot.supportedFilesystems = lib.mkDefault [ "btrfs" ];
boot.kernelPackages = lib.mkOverride 800 pkgs.linuxPackages_latest; boot.kernelPackages = lib.mkOverride 800 pkgs.linuxPackages_latest;
boot.loader.systemd-boot.enable = true; boot.loader.systemd-boot.enable = true;
boot.loader.systemd-boot.configurationLimit = 10;
boot.loader.efi.canTouchEfiVariables = true; boot.loader.efi.canTouchEfiVariables = true;
boot.initrd.systemd.enable = true; boot.initrd.systemd.enable = true;