jujutsu: Disable ediff, fix difftastic config

This commit is contained in:
Erwin Boskma 2024-11-14 09:40:41 +01:00
parent b3aa9a97d2
commit ba693ccad9
Signed by: erwin
SSH key fingerprint: SHA256:/Wk1WZdLg+vQHs3in9qq7PsIp8SMzwGSk/RLZ5zPuZk

View file

@ -40,6 +40,8 @@ in
config = mkIf cfg.enable {
programs.jujutsu = {
enable = true;
ediff = false;
settings = {
user = {
name = cfg.name;
@ -58,18 +60,19 @@ in
pager = lib.getExe pkgs.bat;
};
diff.difftastic = {
program = lib.getExe pkgs.difftastic;
diff-args = [
"--color=auto"
"--background=dark"
"--display=side-by-side-show-both"
"$left"
"$right"
];
merge-tools = {
difftastic = {
program = lib.getExe pkgs.difftastic;
diff-args = [
"--color=always"
"--background=dark"
"--display=side-by-side-show-both"
"$left"
"$right"
];
};
};
signing = {
sign-all = true;
backend = cfg.signingBackend;