Commit 900be5258d21

Vincent Demeester <vincent@sbr.pm>
2022-06-29 16:25:27
users/vincent: setup gh credential helper
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent 2e40221
Changed files (1)
users
vincent
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";