From b61cff4fe01a187a95f74c511766e8f41360d171 Mon Sep 17 00:00:00 2001 From: pegasust Date: Tue, 22 Nov 2022 01:24:38 +0000 Subject: [PATCH] git additional settings --- home-nix/home.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/home-nix/home.nix b/home-nix/home.nix index 1bd83c2..8d9d254 100644 --- a/home-nix/home.nix +++ b/home-nix/home.nix @@ -120,6 +120,16 @@ extraConfig = { merge = { tool = "vimdiff"; conflictstyle = "diff3"; }; }; + ignores = [ + # vscode-related settings + ".vscode" + # envrc cached outputs + ".direnv" + ]; + extraConfig = { + # cache credential for 10 minutes. + credential.helper = "cache --timeout=600" + }; # why is this no longer valid? # pull = { rebase=true; }; };