diff --git a/home-mandlm.nix b/home-mandlm.nix index 347ac70..fb340ec 100644 --- a/home-mandlm.nix +++ b/home-mandlm.nix @@ -52,6 +52,23 @@ white = "#fdf6e3"; }; }; + git = { + enable = true; + userName = "Michael Mandl"; + userEmail = "mandlm@molez.net"; + extraConfig = { + core.editor = "nvim"; + fetch.writeCommitGraph = true; + format.pretty = "format:%C(yellow)%h %Cblue%>(12)%ad %C(red)%G? %Cgreen%<(7,trunc)%aN%Cred%d %Creset%s"; + init.defaultBranch = "main"; + log.date = "relative"; + pull.rebase = true; + rebase.autostash = true; + rerere.enabled = true; + worktree.guessRemote = true; + }; + }; + }; };