diff --git a/hosts/istal/services/renovate.nix b/hosts/istal/services/renovate.nix index c9913c7..0459002 100644 --- a/hosts/istal/services/renovate.nix +++ b/hosts/istal/services/renovate.nix @@ -4,10 +4,17 @@ age.secrets.renovate-gitea-token.file = ./renovate-gitea-token.age; age.secrets.renovate-github-token.file = ./renovate-github-token.age; + services.cron = { + enable = true; + systemCronJobs = [ + "0 3 * * * root rm -rf /var/cache/renovate /var/lib/renovate" + ]; + }; + services.renovate = { enable = true; package = pkgs.unstable.renovate; - schedule = "0..3,10..23:00"; + schedule = "0..2,10..23:00"; credentials = { RENOVATE_TOKEN = config.age.secrets.renovate-gitea-token.path; GITHUB_COM_TOKEN = config.age.secrets.renovate-github-token.path;