{ ... }: { programs.git = { enable = true; extraConfig = { 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/" ]; }; }; }; }