Skip to content

FR: reuse github token form /etc/nix/nix.conf #720

Description

@ilyagr

The reason I ran into #719 is that I reused the token from /etc/nix/nix.conf access-tokens option, where I have:

access-tokens = github.com=github_pat_ab<rest_of_token>

I think nh should be smart enough to use that token, or the one in ~/.config/nix/nix.conf if the user places it there. Perhaps this can fully replace nh's own token storage.

But, to be clear, this would be a nice-to-have and isn't as urgent as some fix to #719.

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestRequest a feature from the developers.

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions