aboutsummaryrefslogtreecommitdiff
path: root/modules/git.home.nix
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2021-04-11 14:11:54 +0530
committerAkshay Nair <phenax5@gmail.com>2021-04-11 14:11:54 +0530
commitc170e9f364cb057583e8c50f7a4b5a20c1ec0156 (patch)
tree638c39664a4499e0fa3c251721998965fcfc34cc /modules/git.home.nix
parent11a7511e208dae9ad1519cc1dfe65dcff015ee7b (diff)
downloadnixos-config-c170e9f364cb057583e8c50f7a4b5a20c1ec0156.tar.gz
nixos-config-c170e9f364cb057583e8c50f7a4b5a20c1ec0156.zip
Adds nix config changes
Diffstat (limited to '')
-rw-r--r--modules/git.home.nix4
1 files changed, 4 insertions, 0 deletions
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;