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";
|
options.my.profiles.jujutsu.enable = mkEnableOption "jujutsu profile";
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
|
users.users.moritz.packages = with pkgs; [
|
||||||
|
difftastic
|
||||||
|
];
|
||||||
home-manager.users.moritz.programs.jujutsu = {
|
home-manager.users.moritz.programs.jujutsu = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = inputs.jj.packages.${pkgs.system}.default;
|
package = inputs.jj.packages.${pkgs.system}.default;
|
||||||
|
|
@ -19,9 +22,12 @@ in {
|
||||||
email = "mail@moritzboeh.me";
|
email = "mail@moritzboeh.me";
|
||||||
name = "Moritz Böhme";
|
name = "Moritz Böhme";
|
||||||
};
|
};
|
||||||
ui.pager.command = ["less" "-FRX"];
|
ui = {
|
||||||
ui.pager.env.LESSCHARSET = "utf-8";
|
pager.command = ["less" "-FRX"];
|
||||||
ui.default-command = "log";
|
pager.env.LESSCHARSET = "utf-8";
|
||||||
|
default-command = "log";
|
||||||
|
diff-formatter = ["difft" "--color=always" "$left" "$right"];
|
||||||
|
};
|
||||||
signing = {
|
signing = {
|
||||||
behavior = "drop";
|
behavior = "drop";
|
||||||
backend = "gpg";
|
backend = "gpg";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue