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 = {
enable = true;
attributes = [
"*.lockb binary diff=lockb"
];
extraConfig = {
include.path = "~/.gituser";
commit.gpgsign = true;
diff.lockb = {
textconv = "bun";
binary = true;
};
core = {
editor = "nvim";
autocrlf = false;