diff --git a/homeManagerModules/git.nix b/homeManagerModules/git.nix index b962748..38a9e22 100644 --- a/homeManagerModules/git.nix +++ b/homeManagerModules/git.nix @@ -3,15 +3,15 @@ programs.git = lib.mkMerge [ { enable = true; - extraConfig = { + settings = { credential.helper = "store --file ~/.git-credentials"; init.defaultBranch = "main"; push.autoSetupRemote = true; }; } (lib.mkIf (config.profile == "personal") { - userName = "John Lancaster"; - userEmail = "32917998+jsl12@users.noreply.github.com"; + user.name = "John Lancaster"; + user.email = "32917998+jsl12@users.noreply.github.com"; }) (lib.mkIf (config.profile == "work") { userName = "John Lancaster";