Add Git Credential Manager for HTTPS auth to Gitea.

This commit is contained in:
WHC
2026-09-19 18:39:06 +08:00
parent cac29b4c79
commit 014922f406
2 changed files with 13 additions and 1 deletions
+1
View File
@@ -90,6 +90,7 @@ in
wpsoffice-cn wpsoffice-cn
git git
git-credential-manager
gcc gcc
gnumake gnumake
binutils binutils
+12 -1
View File
@@ -69,7 +69,18 @@
}; };
programs.nix-ld.enable = true; programs.nix-ld.enable = true;
programs.git.enable = true; programs.git = {
enable = true;
config = {
credential = {
helper = "manager";
credentialStore = "cache";
"https://git.whcself.xyz" = {
provider = "generic";
};
};
};
};
# Clash Verge Rev # Clash Verge Rev
programs.clash-verge = { programs.clash-verge = {