Whenever im trying to update the system nix flake update
i frequently get the api limit reached error.
anyone else having this problem?
Whenever im trying to update the system nix flake update
i frequently get the api limit reached error.
anyone else having this problem?
I had this happen to me in the past with an app that had a self-updater script combined with a service that was poorly written (by me). I believe it was noisetorch.
At startup, it would try to update itself in a way that nix doesn’t like and fail. Presumably by fetching a tarball from GH. And because the service was written to repeat on failure without a limit, this would repeat ad nauseam.
The problem also didn’t bubble up immediately because I started on a relatively new version. It took some time for the version I had installed to drift away from the latest and then this setup blew up on me.
This is a common problem, and is probably even more common after GH reduced the limit even further recently.
Your best option is to set an access-tokens
for GH in your nix configuration.
@Felipe-9 Maybe this thread can help u out: Flakes: Provide GitHub API Token for rate limiting?
i guess having greater rate limit would indeed help, that is until they lower further. i when i have time i will give it a try, will be using sops tho.