From 3ed191ece5ce31216df39e78b1a0ffdd2f7a3b2c Mon Sep 17 00:00:00 2001 From: caem Date: Sat, 1 Jun 2024 00:21:25 +0200 Subject: [PATCH] Disable the default branch warning in git "master" sounds way cooler than "main". Haters are going to hate. --- users/hu/packages/git.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/users/hu/packages/git.nix b/users/hu/packages/git.nix index 94f7b58..77b7f94 100644 --- a/users/hu/packages/git.nix +++ b/users/hu/packages/git.nix @@ -3,12 +3,17 @@ { programs.git = { enable = true; + userName = "caem"; userEmail = "me@caem.dev"; signing = { key = "E50FC66B5062070DC462661C69A830D03203405F"; signByDefault = true; }; + + extraConfig = { + init.defaultBranch = "master"; + }; }; }