1
0
mirror of https://github.com/nix-community/home-manager synced 2024-06-29 09:58:32 +02:00
home-manager/tests/modules/programs/gh
satoqz 4fd794d3df
gh: option to enable helper for additional hosts (#4288)
* gh: option to enable helper for additional hosts

`gh` can also be used with github enterprise
hosts, for which there exists no easy option
to enable the credential helper except for
directly working with `programs.git.extraConfig`.
Not sure if this is a needed addition since it's
somewhat niche, at the same time it's not very
complex and makes the life of github enterprise
a little easier.

* gh: update credential-helper tests

* gh: refactor credential helper option

this moves from `enableGitCredentialHelper` to
`gitCredentialHelper.enable` and
`gitCredentialHelper.hosts`.

* gh: lib.mkIf -> mkIf
2023-08-01 01:40:37 +02:00
..
config-file.nix gh: use structural settings (#2339) 2021-10-08 23:29:25 +02:00
credential-helper.git.conf gh: option to enable helper for additional hosts (#4288) 2023-08-01 01:40:37 +02:00
credential-helper.nix gh: option to enable helper for additional hosts (#4288) 2023-08-01 01:40:37 +02:00
default.nix gh: add extensions option 2022-08-12 20:49:50 +02:00
extensions.nix gh: add extensions option 2022-08-12 20:49:50 +02:00
warnings.nix gh: use structural settings (#2339) 2021-10-08 23:29:25 +02:00