From 3cf0f456b7f867e4ae9bf986e4f2b5e7b527681e Mon Sep 17 00:00:00 2001 From: Alexander Wainwright Date: Wed, 17 Dec 2025 16:38:15 +1000 Subject: [PATCH] Update git config with default branch main --- alex/home.nix | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/alex/home.nix b/alex/home.nix index 7836538..1697b67 100644 --- a/alex/home.nix +++ b/alex/home.nix @@ -138,8 +138,15 @@ # basic configuration of git, please change to your own programs.git = { enable = true; - userName = "Alexander Wainwright"; - userEmail = "code@figtree.dev"; + settings = { + user = { + name = "Alexander Wainwright"; + email = "code@figtree.dev"; + }; + init = { + defaultBranch = "main"; + }; + }; }; # starship - an customizable prompt for any shell