dotnix/apps/nogui/jj.nix

48 lines
1019 B
Nix
Raw Normal View History

{ pkgs, ... }:
{
programs.jujutsu = {
enable = true;
settings = {
user = {
name = "jolheiser";
email = "git@jolheiser.com";
};
ui = {
diff.tool = [
"${pkgs.difftastic}/bin/difft"
"--color=always"
"$left"
"$right"
];
editor = "hx";
paginate = "never";
default-command = "log";
};
git.push-bookmark-prefix = "change/";
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"
];
};
};
};
}