From dd2339d34b23c0367b0cf7254e8093ae14e6b034 Mon Sep 17 00:00:00 2001 From: mir Date: Sat, 23 Mar 2024 12:36:08 -0800 Subject: [PATCH] fix git default branch --- home.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/home.nix b/home.nix index 5e56ab9..af28d91 100644 --- a/home.nix +++ b/home.nix @@ -79,7 +79,10 @@ with lib.hm.gvariant; package = pkgs.gitFull; userName = "mir"; userEmail = "mirmarq428@gmail.com"; - extraConfig.credential.helper = "store"; + extraConfig = { + credential.helper = "store"; + init.defaultBranch = "main"; + }; }; programs.firefox = { enable = true;