From 746eee1a18016f45ce876f7d1b4839bc1597f37b Mon Sep 17 00:00:00 2001 From: Leonhard Kost Date: Mon, 15 Dec 2025 17:58:07 +0100 Subject: [PATCH] Use git-credential-oauth bc it just works --- modules/home-manager/git.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/modules/home-manager/git.nix b/modules/home-manager/git.nix index 8b250c4..f16871c 100644 --- a/modules/home-manager/git.nix +++ b/modules/home-manager/git.nix @@ -1,7 +1,7 @@ { pkgs, ... }: { home.packages = with pkgs; [ - git-credential-manager + git-credential-oauth ]; programs.git = { @@ -9,8 +9,10 @@ settings = { user.name = "Leonhard Kost"; user.email = "leonhard.kost@gmail.com"; - credential.credentialStore = "cache"; - credential.helper = "manager"; + credential.helper = [ + "cache --timeout 21600" + "oauth" # Eventually with optional -device flag + ]; }; }; }