From c170e9f364cb057583e8c50f7a4b5a20c1ec0156 Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Sun, 11 Apr 2021 14:11:54 +0530 Subject: Adds nix config changes --- modules/git.home.nix | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'modules/git.home.nix') diff --git a/modules/git.home.nix b/modules/git.home.nix index 440a7d5..0d1b792 100644 --- a/modules/git.home.nix +++ b/modules/git.home.nix @@ -17,6 +17,9 @@ "color" = { "ui" = true; }; + "init" = { + defaultBranch = "main"; + }; "color \"diff-highlight\"" = { oldNormal = "red bold"; oldHighlight = "red bold 52"; @@ -31,6 +34,7 @@ new = "green bold"; whitespace = "red reverse"; }; + #"pull" = { rebase = true; }; }; #signing.key = "GPG-KEY-ID"; #signing.signByDefault = true; -- cgit v1.3.1