feat(jj): add difft as default diff
This commit is contained in:
parent
6125c37e2a
commit
e6cae70857
1 changed files with 9 additions and 3 deletions
|
|
@ -11,6 +11,9 @@ in {
|
|||
options.my.profiles.jujutsu.enable = mkEnableOption "jujutsu profile";
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
users.users.moritz.packages = with pkgs; [
|
||||
difftastic
|
||||
];
|
||||
home-manager.users.moritz.programs.jujutsu = {
|
||||
enable = true;
|
||||
package = inputs.jj.packages.${pkgs.system}.default;
|
||||
|
|
@ -19,9 +22,12 @@ in {
|
|||
email = "mail@moritzboeh.me";
|
||||
name = "Moritz Böhme";
|
||||
};
|
||||
ui.pager.command = ["less" "-FRX"];
|
||||
ui.pager.env.LESSCHARSET = "utf-8";
|
||||
ui.default-command = "log";
|
||||
ui = {
|
||||
pager.command = ["less" "-FRX"];
|
||||
pager.env.LESSCHARSET = "utf-8";
|
||||
default-command = "log";
|
||||
diff-formatter = ["difft" "--color=always" "$left" "$right"];
|
||||
};
|
||||
signing = {
|
||||
behavior = "drop";
|
||||
backend = "gpg";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue