fix(git_nixos): cache git credentials from oauth
This commit is contained in:
parent
07a4314723
commit
1d63ce26c9
@ -2,7 +2,11 @@
|
|||||||
programs.git = {
|
programs.git = {
|
||||||
package = pkgs.gitAndTools.gitFull;
|
package = pkgs.gitAndTools.gitFull;
|
||||||
extraConfig = {
|
extraConfig = {
|
||||||
credential.helper = "oauth";
|
credential.helper = [
|
||||||
|
# Cache credentials for 2 weeks
|
||||||
|
"cache --timeout 1209600"
|
||||||
|
"oauth"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user