I changed my access token on github. How do I change the store on nixOS?

On nixOS, is there a standard / preconfigured way how git credentials are stored?

I just changed my github access token. Now I can’t push anymore, because the old token is still stored and I am not sure where and how to change it

git config -l does not show anything related to credentials

Did you ever find a solution? I can’t use nix flake update right now because my access_token expired. I generated a new one using gh, but nix doesn’t seem to find it…