From da8fc594473acee2cfc79bdf6bdae3515a3c7a88 Mon Sep 17 00:00:00 2001 From: insert Date: Sun, 11 Aug 2024 10:29:17 -0400 Subject: [PATCH] add multiple git credential helpers --- home.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/home.nix b/home.nix index f365223..dc8bd86 100644 --- a/home.nix +++ b/home.nix @@ -7,6 +7,7 @@ home.packages = [ pkgs.git + pkgs.git-credential-oauth pkgs.fluffychat pkgs.cinny-desktop pkgs.firefox @@ -167,9 +168,14 @@ key = "A70775C389ACF105"; signByDefault = true; }; + extraConfig = { + credential.helper = ["${ + pkgs.git.override { withLibsecret = true; } + }/bin/git-credential-libsecret" "cache --timeout 41600" "oauth"]; + }; }; #programs.thefuck.enable = true; - programs.git-credential-oauth.enable = true; + #programs.git-credential-oauth.enable = true; programs.kitty = { enable = true; theme = "Catppuccin-Frappe";