1
0
Files
nix-shared/home/private/git.nix
2025-12-02 17:10:50 -08:00

25 lines
594 B
Nix

{ ... }:
{
programs.git = {
enable = true;
settings = {
credential.helper = "store --file ~/.git-credentials";
"url \"https://g.t1.xyz/github-mirror/\"" = {
insteadOf = [
"https://github.com/AirGuanZ/"
"https://github.com/dmlc/"
"https://github.com/epezent/"
"https://github.com/facebook/"
"https://github.com/lz4/"
"https://github.com/nothings/"
"https://github.com/ocornut/"
"https://github.com/rapidsai/"
"https://github.com/yhirose/"
];
};
};
};
}