nixpkgs-update: run github fetcher every 6 hours
sometimes seems to be a bit flaky, run at shorter interval to compensate
This commit is contained in:
parent
c71a27395b
commit
9af99fa175
1 changed files with 5 additions and 1 deletions
|
@ -170,7 +170,11 @@ in
|
||||||
script = "${nixpkgs-update-bin} delete-done --delete";
|
script = "${nixpkgs-update-bin} delete-done --delete";
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.services.nixpkgs-update-fetch-github = mkFetcher "github" "${inputs.nixpkgs-update-github-releases}/main.py";
|
systemd.services.nixpkgs-update-fetch-github =
|
||||||
|
mkFetcher "github" "${inputs.nixpkgs-update-github-releases}/main.py"
|
||||||
|
// {
|
||||||
|
startAt = "0/6:10"; # every 6 hours
|
||||||
|
};
|
||||||
systemd.services.nixpkgs-update-fetch-repology = mkFetcher "repology" (lib.getExe repology);
|
systemd.services.nixpkgs-update-fetch-repology = mkFetcher "repology" (lib.getExe repology);
|
||||||
systemd.services.nixpkgs-update-fetch-updatescript = mkFetcher "updatescript" "${pkgs.nix}/bin/nix eval --option max-call-depth 100000 --raw -f ${./packages-with-update-script.nix}";
|
systemd.services.nixpkgs-update-fetch-updatescript = mkFetcher "updatescript" "${pkgs.nix}/bin/nix eval --option max-call-depth 100000 --raw -f ${./packages-with-update-script.nix}";
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue