fix: use 7d instead of 1w for nix gc

Signed-off-by: Chinmay D. Pai <chinmay.pai@zerodha.com>
This commit is contained in:
Chinmay D. Pai 2023-11-25 01:29:43 +05:30
parent 67bd1d96ce
commit 89ad28e6db
Signed by: thunderbottom
GPG Key ID: 75507BE256F40CED

View File

@ -33,11 +33,11 @@
nix = { nix = {
package = pkgs.nixUnstable; package = pkgs.nixUnstable;
# run garbage collector dailt # run garbage collector daily
gc = { gc = {
automatic = true; automatic = true;
dates = "daily"; dates = "daily";
options = "--delete-older-than 1w"; options = "--delete-older-than 7d";
}; };
settings = { settings = {
auto-optimise-store = true; auto-optimise-store = true;