From 7005f19a913a833a479af887610165d430529f81 Mon Sep 17 00:00:00 2001 From: Caroline Larimore Date: Tue, 18 Nov 2025 14:43:09 -0800 Subject: flake: update --- modules/home/tools/git/default.nix | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'modules/home/tools') diff --git a/modules/home/tools/git/default.nix b/modules/home/tools/git/default.nix index 06ce017..bd7da60 100644 --- a/modules/home/tools/git/default.nix +++ b/modules/home/tools/git/default.nix @@ -28,8 +28,14 @@ in { programs.git = { enable = true; - userName = cfg.name; - userEmail = cfg.email; + settings = { + user = { + name = cfg.name; + email = cfg.email; + }; + + init.defaultBranch = "main"; + }; signing = { key = cfg.key; @@ -40,10 +46,6 @@ in { "*~" "*.swp" ]; - - extraConfig = { - init.defaultBranch = "main"; - }; }; }; } -- cgit v1.2.3