2024-08-01 18:27:47 +00:00
|
|
|
{ pkgs, ... }:
|
|
|
|
{
|
2024-07-10 14:58:01 +00:00
|
|
|
programs.jujutsu = {
|
|
|
|
enable = true;
|
|
|
|
settings = {
|
|
|
|
user = {
|
|
|
|
name = "jolheiser";
|
2024-07-10 15:48:54 +00:00
|
|
|
email = "git@jolheiser.com";
|
2024-07-10 14:58:01 +00:00
|
|
|
};
|
|
|
|
ui = {
|
2024-08-01 18:27:47 +00:00
|
|
|
diff.tool = [
|
|
|
|
"${pkgs.difftastic}/bin/difft"
|
|
|
|
"--color=always"
|
|
|
|
"$left"
|
|
|
|
"$right"
|
|
|
|
];
|
2024-07-10 14:58:01 +00:00
|
|
|
editor = "hx";
|
2024-10-21 13:55:09 +00:00
|
|
|
paginate = "never";
|
|
|
|
default-command = "log";
|
2024-07-10 14:58:01 +00:00
|
|
|
};
|
2024-10-21 13:55:09 +00:00
|
|
|
git.push-bookmark-prefix = "change/";
|
2024-07-10 14:58:01 +00:00
|
|
|
signing = {
|
|
|
|
sign-all = true;
|
|
|
|
backend = "ssh";
|
|
|
|
key = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAUxLwkJOlalAHTdkbh+m49XTZGKDqWz1o/o8OLmtQdX";
|
|
|
|
};
|
2024-12-19 04:04:35 +00:00
|
|
|
revsets.log = "ancestors(present(@), 5) | ancestors(immutable_heads().., 2) | present(trunk())";
|
|
|
|
aliases = {
|
|
|
|
push = [
|
|
|
|
"util"
|
|
|
|
"exec"
|
|
|
|
"git"
|
|
|
|
"push"
|
|
|
|
"origin"
|
|
|
|
"main"
|
|
|
|
];
|
|
|
|
fetch = [
|
|
|
|
"util"
|
|
|
|
"exec"
|
|
|
|
"git"
|
|
|
|
"fetch"
|
|
|
|
"origin"
|
|
|
|
];
|
|
|
|
};
|
2024-07-10 14:58:01 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|