{ $schema: "https://docs.renovatebot.com/renovate-schema.json", extends: ["config:recommended", "docker:pinDigests"], nix: { enabled: true, }, ignorePaths: ["**/*.sops.*", "**/.archive/**", "**/resources/**"], customManagers: [ { customType: "regex", description: "Process various dependencies in nix files", fileMatch: ["\\.nix$"], matchStrings: [ '(?m:^[ \\t]*?# ?renovate: depName=(?\\S+)( datasource=(?\\S+))?( versioning=(?\\S+))?( extractVersion=(?\\S+))?\\n[ \\t ]*?\\S+ = "?(?[^" ]+?)";?$)', ], datasourceTemplate: "{{#if datasource}}{{{datasource}}}{{else}}github-releases{{/if}}", versioningTemplate: "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}", extractVersionTemplate: "{{#if extractVersion}}{{{extractVersion}}}{{else}}^(?.*)${{/if}}", }, ], }