diff options
-rw-r--r-- | user/settings/git.nix | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/user/settings/git.nix b/user/settings/git.nix index 646a10c2..b156c2c4 100644 --- a/user/settings/git.nix +++ b/user/settings/git.nix @@ -1,11 +1,16 @@ { config , pkgs , ... -}: { +}: +let + name = "Alan Pearce"; + email = "alan@alanpearce.eu"; +in +{ programs.git = { enable = true; - userName = "Alan Pearce"; - userEmail = "alan@alanpearce.eu"; + userName = name; + userEmail = email; delta = { enable = true; options = { @@ -109,6 +114,14 @@ }; }; }; + programs.jujutsu = { + enable = true; + settings = { + user = { + inherit name email; + }; + }; + }; home.packages = with pkgs; [ git-extras # delete-merged-branches and friends ghq |