From 0f7054dda629c01991b1c07debbcbd84a4a01891 Mon Sep 17 00:00:00 2001 From: Noa Aarts Date: Thu, 16 Oct 2025 18:51:14 +0200 Subject: [PATCH] use git credential manager --- modules/applications/git.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/applications/git.nix b/modules/applications/git.nix index 1b08896..a590803 100644 --- a/modules/applications/git.nix +++ b/modules/applications/git.nix @@ -24,6 +24,10 @@ in }; config = lib.mkIf cfg.enable { + home.packages = [ + pkgs.git-credential-manager + ]; + programs.git = { enable = true; userName = cfg.name; @@ -37,6 +41,7 @@ in commit.gpgsign = cfg.do_sign; push.autoSetupRemote = true; credential.helper = "store"; + credential.credentialStore = "secretservice"; }; }; };