More aggressive data cleanup/optimisation
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 12s
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 12s
This commit is contained in:
parent
8fc1ea7de7
commit
bccd0d8eb9
|
@ -7,4 +7,10 @@
|
|||
zsh.enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
nix.gc = {
|
||||
automatic = true;
|
||||
options = "-d";
|
||||
frequency = "03:15";
|
||||
};
|
||||
}
|
||||
|
|
|
@ -53,9 +53,9 @@ in {
|
|||
# TODO: Configure distributedBuilds and buildMachines?
|
||||
|
||||
gc = {
|
||||
automatic = true;
|
||||
dates = "weekly";
|
||||
options = "--delete-older-than 30d";
|
||||
automatic = lib.mkDefault true;
|
||||
dates = lib.mkDefault "weekly";
|
||||
options = lib.mkDefault "--delete-older-than 30d";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -27,6 +27,10 @@ in {
|
|||
};
|
||||
};
|
||||
|
||||
nix.settings.auto-optimise-store = true;
|
||||
nix.gc.dates = "03:15";
|
||||
nix.gc.options = "-d";
|
||||
|
||||
services.nginx.virtualHosts."${domain}" = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
|
|
Loading…
Reference in a new issue