mirror of
https://github.com/elwrcl/copnix.git
synced 2026-10-31 06:18:03 +03:00
20 lines
352 B
Nix
20 lines
352 B
Nix
{ ... }:
|
|
{
|
|
flake.homeModules.home-jujutsu-difftastic =
|
|
{ pkgs, lib, ... }:
|
|
let
|
|
inherit (lib.meta) getExe;
|
|
in
|
|
{
|
|
home.packages = [ pkgs.difftastic ];
|
|
|
|
programs.jujutsu.settings.ui.diff-formatter = [
|
|
(getExe pkgs.difftastic)
|
|
"--color"
|
|
"always"
|
|
"$left"
|
|
"$right"
|
|
];
|
|
};
|
|
}
|