From 804d1c288377ae03f1a00f74c4a1198e3af4acfb Mon Sep 17 00:00:00 2001 From: Noa Aarts Date: Sat, 25 Oct 2025 18:49:12 +0200 Subject: [PATCH] use new git settings layout --- modules/applications/git.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/modules/applications/git.nix b/modules/applications/git.nix index a590803..20b3882 100644 --- a/modules/applications/git.nix +++ b/modules/applications/git.nix @@ -30,9 +30,11 @@ in programs.git = { enable = true; - userName = cfg.name; - userEmail = cfg.email; - extraConfig = { + settings = { + user = { + name = cfg.name; + email = cfg.email; + }; init = { defaultBranch = "main"; };