Since I have added git to my home manager config, the git config file is now read-only. This makes it impossible for the github CLI to fulfill its function of adding the credentials to this file. Forced to find another way of authenticating myself when making pushes and such.