From 5867b6b85d59791587b58334a4a3c3670dd821d7 Mon Sep 17 00:00:00 2001 From: Himadri Bhattacharjee <107522312+lavafroth@users.noreply.github.com> Date: Wed, 28 Feb 2024 13:58:38 +0530 Subject: [PATCH] feat: limit gh credential helper to github endpoints --- home.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/home.nix b/home.nix index 0cfa097..585a1db 100644 --- a/home.nix +++ b/home.nix @@ -43,7 +43,8 @@ delta.enable = true; extraConfig = { - credential.helper = "${pkgs.gh}/bin/gh auth git-credential"; + credential."https://github.com".helper = "${pkgs.gh}/bin/gh auth git-credential"; + credential."https://gist.github.com".helper = "${pkgs.gh}/bin/gh auth git-credential"; gpg.format = "ssh"; }; signing.signByDefault = true;