From d090dece3699232261f4cb2dbf759d270fcccbc9 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Wed, 20 Nov 2024 19:13:58 +0100 Subject: install jujutsu --- user/settings/git.nix | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) (limited to 'user/settings') 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 -- cgit 1.4.1