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;
|
zsh.enable = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nix.gc = {
|
||||||
|
automatic = true;
|
||||||
|
options = "-d";
|
||||||
|
frequency = "03:15";
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -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";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue