install jujutsu
Alan Pearce alan@alanpearce.eu
Wed, 20 Nov 2024 19:13:58 +0100
1 files changed, 16 insertions(+), 3 deletions(-)
jump to
M user/settings/git.nix → 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 = { @@ -106,6 +111,14 @@ settings = { git_protocol = "ssh"; aliases = { fork = "repo fork --remote --remote-name alanpearce --default-branch-only"; + }; + }; + }; + programs.jujutsu = { + enable = true; + settings = { + user = { + inherit name email; }; }; };