2024-09-04 19:00:38 +00:00
|
|
|
{
|
|
|
|
pkgs,
|
|
|
|
config,
|
|
|
|
...
|
|
|
|
}: {
|
|
|
|
services.renovate = {
|
|
|
|
enable = true;
|
|
|
|
schedule = "hourly";
|
|
|
|
settings = {
|
|
|
|
platform = "gitea";
|
|
|
|
endpoint = "https://git.chir.rs";
|
|
|
|
gitAuthor = "Renovate <gitea-bot@chir.rs>";
|
|
|
|
autodiscover = true;
|
|
|
|
autodiscoverTopics = ["managed-by-renovate"];
|
|
|
|
nix.enabled = true;
|
|
|
|
lockFileMaintenance.enabled = true;
|
|
|
|
ossVulnerabilityAlerts = true;
|
|
|
|
credentials = {
|
2024-09-05 05:56:10 +00:00
|
|
|
RENOVATE_TOKEN = config.sops.secrets."services/renovate".path;
|
2024-09-04 19:00:38 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
runtimePackages = with pkgs; [
|
|
|
|
config.nix.package
|
|
|
|
nodejs
|
|
|
|
corepack
|
|
|
|
cargo
|
|
|
|
];
|
|
|
|
};
|
|
|
|
|
|
|
|
sops.secrets."services/renovate" = {};
|
|
|
|
}
|