fix(boot): cap the systemd-boot entries at ten per host
Without configurationLimit every generation keeps its entry on the ESP. The desktop had grown to 58 of them, 232M of a 1G partition, and nothing ever removed one. Ten keeps a useful rollback range and lets the builder clear the rest on every switch.
This commit is contained in:
1 parent
fa18df657f
commit
ee30b4790c
3 files changed
+3
No files matched your search
@@ -29,6 +29,7 @@
|
||||
};
|
||||
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.systemd-boot.configurationLimit = 10;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
boot.kernelParams = [ "quiet" ];
|
||||
|
||||
|
||||
Reference in new issue
Block a user