More aggressive data cleanup/optimisation
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 12s

This commit is contained in:
alejandro-angulo 2024-12-07 22:30:06 -08:00
parent 8fc1ea7de7
commit bccd0d8eb9
Signed by: alejandro-angulo
GPG key ID: 75579581C74554B6
3 changed files with 13 additions and 3 deletions

View file

@ -7,4 +7,10 @@
zsh.enable = true; zsh.enable = true;
}; };
}; };
nix.gc = {
automatic = true;
options = "-d";
frequency = "03:15";
};
} }

View file

@ -53,9 +53,9 @@ in {
# TODO: Configure distributedBuilds and buildMachines? # TODO: Configure distributedBuilds and buildMachines?
gc = { gc = {
automatic = true; automatic = lib.mkDefault true;
dates = "weekly"; dates = lib.mkDefault "weekly";
options = "--delete-older-than 30d"; options = lib.mkDefault "--delete-older-than 30d";
}; };
}; };
}; };

View file

@ -27,6 +27,10 @@ in {
}; };
}; };
nix.settings.auto-optimise-store = true;
nix.gc.dates = "03:15";
nix.gc.options = "-d";
services.nginx.virtualHosts."${domain}" = { services.nginx.virtualHosts."${domain}" = {
forceSSL = true; forceSSL = true;
enableACME = true; enableACME = true;