summary refs log tree commit diff stats
path: root/user
diff options
context:
space:
mode:
authorAlan Pearce2024-11-20 19:13:58 +0100
committerAlan Pearce2024-11-20 19:13:58 +0100
commitd090dece3699232261f4cb2dbf759d270fcccbc9 (patch)
tree012e20255ab6ac1cd9c3906fd0cc05df0dda76f4 /user
parent8918ff06aabe167d1ee77cb0a3b5fffa247c7ded (diff)
downloadnixfiles-d090dece3699232261f4cb2dbf759d270fcccbc9.tar.lz
nixfiles-d090dece3699232261f4cb2dbf759d270fcccbc9.tar.zst
nixfiles-d090dece3699232261f4cb2dbf759d270fcccbc9.zip
install jujutsu HEAD main
Diffstat (limited to 'user')
-rw-r--r--user/settings/git.nix19
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