fix(git_nixos): cache git credentials from oauth

This commit is contained in:
Michael Thomas 2024-01-20 16:53:38 -05:00
parent 07a4314723
commit 1d63ce26c9

View File

@ -2,7 +2,11 @@
programs.git = {
package = pkgs.gitAndTools.gitFull;
extraConfig = {
credential.helper = "oauth";
credential.helper = [
# Cache credentials for 2 weeks
"cache --timeout 1209600"
"oauth"
];
};
};