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:
parent
4a06b455b9
commit
29eceee7eb
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue