diff options
author | Alan Pearce | 2024-11-20 19:13:58 +0100 |
---|---|---|
committer | Alan Pearce | 2024-11-20 19:13:58 +0100 |
commit | d090dece3699232261f4cb2dbf759d270fcccbc9 (patch) | |
tree | 012e20255ab6ac1cd9c3906fd0cc05df0dda76f4 /user | |
parent | 8918ff06aabe167d1ee77cb0a3b5fffa247c7ded (diff) | |
download | nixfiles-d090dece3699232261f4cb2dbf759d270fcccbc9.tar.lz nixfiles-d090dece3699232261f4cb2dbf759d270fcccbc9.tar.zst nixfiles-d090dece3699232261f4cb2dbf759d270fcccbc9.zip |
Diffstat (limited to 'user')
-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 |