Better storage optimisation settings

This commit is contained in:
Wekuz 2025-12-30 18:34:19 +02:00
parent b4289141db
commit 1a3711e3e1
Signed by: Wekuz
GPG key ID: 2E502F2AABD32DF9

View file

@ -13,11 +13,16 @@
nix = { nix = {
package = pkgs.nixVersions.stable; package = pkgs.nixVersions.stable;
optimise.automatic = true; optimise = {
automatic = true;
dates = "Mon *-*-* 03:00:00";
randomizedDelaySec = "10m";
};
gc = { gc = {
automatic = true; automatic = true;
dates = "weekly"; dates = "Mon *-*-* 03:00:00";
options = "--delete-older-than 2w"; randomizedDelaySec = "10m";
options = "--delete-older-than 7d";
}; };
settings.experimental-features = [ settings.experimental-features = [
"nix-command" "nix-command"
@ -31,7 +36,10 @@
}; };
boot.loader = { boot.loader = {
systemd-boot.enable = true; systemd-boot = {
enable = true;
configurationLimit = 8;
};
efi.canTouchEfiVariables = true; efi.canTouchEfiVariables = true;
timeout = 1; timeout = 1;
}; };