feat: use delta instead of difftastic
This commit is contained in:
parent
41fc5bb328
commit
022abfffc5
2 changed files with 26 additions and 6 deletions
|
@ -1,8 +1,15 @@
|
|||
{ pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
|
||||
"gh-copilot"
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
nixpkgs.config.allowUnfreePredicate = pkg:
|
||||
builtins.elem (lib.getName pkg) [
|
||||
"gh-copilot"
|
||||
];
|
||||
|
||||
home.packages = with pkgs; [
|
||||
delta
|
||||
];
|
||||
|
||||
programs = {
|
||||
|
@ -29,6 +36,7 @@
|
|||
width = 64;
|
||||
};
|
||||
};
|
||||
pager.diff = "delta";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue