From bc1654ca08d3ed6aa8e1cdc284e7021a6f2c5ab6 Mon Sep 17 00:00:00 2001 From: Dennis Date: Thu, 23 Oct 2025 08:41:56 +0200 Subject: [PATCH] changes to new git config style --- modules/git/default.nix | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/modules/git/default.nix b/modules/git/default.nix index 6867e1e..c25f6ce 100644 --- a/modules/git/default.nix +++ b/modules/git/default.nix @@ -1,10 +1,7 @@ { programs.git = { enable = true; - userName = "Dennis Schoepf"; - userEmail = "me@dnsc.io"; - ignores = [ ".DS_Store" ]; - extraConfig = { + settings = { init = { defaultBranch = "main"; }; @@ -20,6 +17,12 @@ push = { autoSetupRemote = true; }; + + user = { + name = "Dennis Schoepf"; + email = "me@dnsc.io"; + }; }; + ignores = [ ".DS_Store" ]; }; }