home

My NixOS systems configurations.
Log | Files | Refs | LICENSE

commit 900be5258d2156fc4abdc828b20854e86d64c5df
parent 2e4022124881de82453bf41f38bc62f047238ea4
Author: Vincent Demeester <vincent@sbr.pm>
Date:   Wed, 29 Jun 2022 16:25:27 +0200

users/vincent: setup gh credential helper

Signed-off-by: Vincent Demeester <vincent@sbr.pm>

Diffstat:
Musers/vincent/core/git.nix | 8++++++++
1 file changed, 8 insertions(+), 0 deletions(-)

diff --git a/users/vincent/core/git.nix b/users/vincent/core/git.nix @@ -138,6 +138,14 @@ in sslCAinfo = "${ca-bundle_crt}"; sslverify = true; }; + credential = { + "https://github.com" = { + helper = "!${pkgs.gh}/bin/gh auth git-credential"; + }; + "https://gist.github.com" = { + helper = "!${pkgs.gh}/bin/gh auth git-credential"; + }; + }; github.user = "vdemeester"; "filter \"lfs\"" = { clean = "${pkgs.git-lfs}/bin/git-lfs clean -- %f";