all repos — nixfiles @ d090dece3699232261f4cb2dbf759d270fcccbc9

System and user configuration, managed by nix and home-manager

install jujutsu
Alan Pearce alan@alanpearce.eu
Wed, 20 Nov 2024 19:13:58 +0100
commit

d090dece3699232261f4cb2dbf759d270fcccbc9

parent

8918ff06aabe167d1ee77cb0a3b5fffa247c7ded

1 files changed, 16 insertions(+), 3 deletions(-)

jump to
M user/settings/git.nixuser/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;
       };
     };
   };