From e86fd609d06f011e798dafda07863f46cf6d8a56 Mon Sep 17 00:00:00 2001 From: Caroline Larimore Date: Sat, 9 Aug 2025 16:55:12 -0700 Subject: git: set default branch name --- modules/home/tools/git/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'modules/home/tools/git/default.nix') diff --git a/modules/home/tools/git/default.nix b/modules/home/tools/git/default.nix index 1780d80..06ce017 100644 --- a/modules/home/tools/git/default.nix +++ b/modules/home/tools/git/default.nix @@ -39,7 +39,11 @@ in { ignores = [ "*~" "*.swp" - ]; + ]; + + extraConfig = { + init.defaultBranch = "main"; + }; }; }; } -- cgit v1.2.3