Compare commits

..

1 commit

Author SHA1 Message Date
d17d496ff8 Lock file maintenance
Some checks failed
CI / build (push) Has been cancelled
2025-01-22 18:41:11 +01:00
5 changed files with 7 additions and 21 deletions

View file

@ -24,7 +24,6 @@
++ (with pkgs; [ ++ (with pkgs; [
attic-client attic-client
deploy-rs deploy-rs
nixVersions.git
nixd nixd
nixfmt-rfc-style nixfmt-rfc-style
nixos-anywhere nixos-anywhere

8
flake.lock generated
View file

@ -111,10 +111,10 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1737552783, "lastModified": 1737489963,
"narHash": "sha256-pJ2lp36L3++a5HtdN7ULcVpdB4j7yo90TDayWuAO+T8=", "narHash": "sha256-1Qo3Qofx6W4s7tfvAKuq+hIUkkSRTU6j9PcDodM0hY4=",
"rev": "33cf80043c64ddd6882268430454e3cbe98b692b", "rev": "d42933081c8149ee536b0300020d4f31b206f514",
"revCount": 11, "revCount": 10,
"type": "git", "type": "git",
"url": "file:./private" "url": "file:./private"
}, },

View file

@ -2,7 +2,6 @@
config, config,
pkgs, pkgs,
lib, lib,
inputs,
... ...
}: }:
with lib; with lib;
@ -27,14 +26,9 @@ in
config = mkIf cfg.enable { config = mkIf cfg.enable {
sops.secrets."renovate/token".restartUnits = [ "renovate.service" ]; sops.secrets."renovate/token".restartUnits = [ "renovate.service" ];
sops.secrets."renovate/host_rules".restartUnits = [ "renovate.service" ];
systemd.services.renovate.environment.LOG_LEVEL = "debug";
services.renovate = { services.renovate = {
enable = true; enable = true;
credentials = { credentials.RENOVATE_TOKEN = config.sops.secrets."renovate/token".path;
RENOVATE_TOKEN = config.sops.secrets."renovate/token".path;
RENOVATE_HOST_RULES = config.sops.secrets."renovate/host_rules".path;
};
runtimePackages = with pkgs; [ runtimePackages = with pkgs; [
nix nix
]; ];
@ -47,12 +41,5 @@ in
}; };
schedule = "*:0/10"; schedule = "*:0/10";
}; };
systemd.services.renovate = {
path = mkBefore [ inputs.pkgs.nixVersions.git ]; # Circumvent submodule bug - remove after >=2.26 is the default.
script = mkBefore ''
echo -e "machine ${cfg.gitServer}\n login $(systemd-creds cat 'SECRET-RENOVATE_TOKEN')\n password x-oauth-basic" > ~/.netrc
'';
};
}; };
} }

@ -1 +1 @@
Subproject commit 33cf80043c64ddd6882268430454e3cbe98b692b Subproject commit d42933081c8149ee536b0300020d4f31b206f514

View file

@ -1,6 +1,6 @@
{ {
"$schema": "https://docs.renovatebot.com/renovate-schema.json", "$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [ "config:recommended" ], "extends": [ "config:base" ],
"lockFileMaintenance": { "lockFileMaintenance": {
"enabled": true, "enabled": true,
"extends": [ "schedule:weekly" ] "extends": [ "schedule:weekly" ]