git: Make git diff work with bun.lockb

This commit is contained in:
Donovan Glover 2024-04-11 12:05:15 -04:00
parent 222c2587fa
commit 4492f2921e
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -15,10 +15,19 @@ in
programs.git = { programs.git = {
enable = true; enable = true;
attributes = [
"*.lockb binary diff=lockb"
];
extraConfig = { extraConfig = {
include.path = "~/.gituser"; include.path = "~/.gituser";
commit.gpgsign = true; commit.gpgsign = true;
diff.lockb = {
textconv = "bun";
binary = true;
};
core = { core = {
editor = "nvim"; editor = "nvim";
autocrlf = false; autocrlf = false;