prevent esp from filling up in acer

This commit is contained in:
2025-08-25 01:30:15 +02:00
parent cb139e654d
commit e0be58c634
+6
View File
@@ -15,6 +15,12 @@ rec {
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
# Limiting number of generations to prevent ESP from filling
# Using Windows' preinstalled ESP which is only 256MB
boot.loader.systemd-boot.configurationLimit = 5;
boot.initrd.compressor = "zstd";
boot.initrd.compressorArgs = [ "-19" "-T16" ];
# Kernel
# boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];
boot.kernelPackages = pkgs.linuxKernel.packages.linux_6_15;