conifer use host git credential manager

This commit is contained in:
xunuwu 2025-07-04 06:22:07 +02:00
parent 149e5ea9a3
commit f9042ee031
Signed by: xun
SSH key fingerprint: SHA256:vVkcg/JhxJ8bhD+XdjfwP9m9m9+1+41rvl8St1Rj+Sw

View file

@ -3,6 +3,7 @@
lib, lib,
pkgs, pkgs,
inputs, inputs,
vars,
... ...
}: { }: {
imports = with homeProfiles; [ imports = with homeProfiles; [
@ -47,5 +48,9 @@
extraOutputsToInstall = ["doc" "devdoc"]; 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; programs.home-manager.enable = true;
} }