diff --git a/user/modules/git_nixos.nix b/user/modules/git_nixos.nix index 81d9dd7..20d2c7c 100644 --- a/user/modules/git_nixos.nix +++ b/user/modules/git_nixos.nix @@ -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" + ]; }; };