Cannot login with gh cli

Whenever i try to run gh auth login in the part when i need to open firefox to paste the one-time code into github, gh cli freezes, i close the browser and then the programs complains this:

failed to authenticate via web browser: open /home/MyUser/.config/gh/config.yml: read-only file system

Side note: i installed gh with programs.gh.enable = true inside my home.nix

Yes, this is annoying. Whenever I have to relogin, I delete the symlinks in .config/gh and then relogin, then rebuild my HM to make it repair the removed symlinks.

I thought I already created an issue on their repository, though I can’t find it.

1 Like