Skip to content

gh: have home manager manage gh's config file - #14

Open
rtucek wants to merge 2 commits into
mainfrom
home-manager/manage-gh-config
Open

gh: have home manager manage gh's config file#14
rtucek wants to merge 2 commits into
mainfrom
home-manager/manage-gh-config

Conversation

@rtucek

@rtucek rtucek commented Aug 9, 2026

Copy link
Copy Markdown
Owner

Have ~/.config/gh/config.yml being managed by home manger.

This change also comes along with moving home/git/default.nix to home/git/git.nix, allowing to
introduce home/git/gh.nix and potentially future git-related programs (e.g. glab).

Additionally, programs.git.settings had to be refactored to an attribute set (instead of an
ordered list of individual attribute sets being merged).
This is due to the fact, that gh interacts with git's config and does assume the config is always of
type attribute set.

Have ~/.config/gh/config.yml being managed by home manger.

This change also comes along with moving `home/git/default.nix` to `home/git/git.nix`, allowing to
introduce `home/git/gh.nix` and potentially future git-related programs (e.g. glab).

Additionally, `programs.git.settings` had to be refactored to an attribute set (instead of an
ordered list of individual attribute sets being merged).
This is due to the fact, that gh interacts with git's config and does assume the config is always of
type attribute set.
@rtucek rtucek self-assigned this Aug 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant