From f9042ee031ef7ec43ae387c3834b983297b294cb Mon Sep 17 00:00:00 2001 From: xunuwu Date: Fri, 4 Jul 2025 06:22:07 +0200 Subject: [PATCH] conifer use host git credential manager --- hosts/conifer/home.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hosts/conifer/home.nix b/hosts/conifer/home.nix index 1a91433..29e25b2 100644 --- a/hosts/conifer/home.nix +++ b/hosts/conifer/home.nix @@ -3,6 +3,7 @@ lib, pkgs, inputs, + vars, ... }: { imports = with homeProfiles; [ @@ -47,5 +48,9 @@ extraOutputsToInstall = ["doc" "devdoc"]; }; + programs.git.extraConfig.credential."https://git.${vars.domain}" = { + helper = "/mnt/c/Program\\ Files/Git/mingw64/bin/git-credential-manager.exe"; + }; + programs.home-manager.enable = true; }