jujutsu: Disable ediff, fix difftastic config
This commit is contained in:
parent
b3aa9a97d2
commit
ba693ccad9
1 changed files with 13 additions and 10 deletions
|
@ -40,6 +40,8 @@ in
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
programs.jujutsu = {
|
programs.jujutsu = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
ediff = false;
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
user = {
|
user = {
|
||||||
name = cfg.name;
|
name = cfg.name;
|
||||||
|
@ -58,18 +60,19 @@ in
|
||||||
pager = lib.getExe pkgs.bat;
|
pager = lib.getExe pkgs.bat;
|
||||||
};
|
};
|
||||||
|
|
||||||
diff.difftastic = {
|
merge-tools = {
|
||||||
program = lib.getExe pkgs.difftastic;
|
difftastic = {
|
||||||
diff-args = [
|
program = lib.getExe pkgs.difftastic;
|
||||||
"--color=auto"
|
diff-args = [
|
||||||
"--background=dark"
|
"--color=always"
|
||||||
"--display=side-by-side-show-both"
|
"--background=dark"
|
||||||
"$left"
|
"--display=side-by-side-show-both"
|
||||||
"$right"
|
"$left"
|
||||||
];
|
"$right"
|
||||||
|
];
|
||||||
|
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
signing = {
|
signing = {
|
||||||
sign-all = true;
|
sign-all = true;
|
||||||
backend = cfg.signingBackend;
|
backend = cfg.signingBackend;
|
||||||
|
|
Loading…
Reference in a new issue