Change deletion time

This commit is contained in:
Alex 2022-01-18 12:38:16 +01:00
parent 5f1c28b80a
commit 4bc67c3906
No known key found for this signature in database
GPG key ID: EDABF9711E244EB1

View file

@ -14,7 +14,7 @@
enable = true;
systemCronJobs = [
"0 2 * * * root nix-collect-garbage --delete-older-than 10d >> /root/nix_gc_log 2>&1"
"30 2 * * * root docker run --rm -v /var/lib/drone/nix:/nix nixpkgs/nix:nixos-21.05 nix-collect-garbage --delete-older-than 10d >> /root/drone_nix_gc_log 2>&1"
"30 2 * * * root docker run --rm -v /var/lib/drone/nix:/nix nixpkgs/nix:nixos-21.05 nix-collect-garbage --delete-older-than 30d >> /root/drone_nix_gc_log 2>&1"
];
};
}