diff --git a/modules/git/default.nix b/modules/git/default.nix index 8caccf4..470af7a 100644 --- a/modules/git/default.nix +++ b/modules/git/default.nix @@ -7,5 +7,7 @@ userName = "ElnuDev"; userEmail = "elnu@elnu.com"; extraConfig.pull.rebase = true; + # Switch defaultBranch from master to main + extraConfig.init.defaultBranch = "main"; }; }