Added delta for git/diff

This commit is contained in:
Andrea Ciceri 2023-01-20 10:47:58 +01:00
parent b29d3b2821
commit dfe800efc5
No known key found for this signature in database
GPG key ID: A1FC89532D1C5654

View file

@ -4,6 +4,8 @@
email = "andrea.ciceri@autistici.org"; email = "andrea.ciceri@autistici.org";
}; };
in { in {
home.packages = [pkgs.gitoxide];
programs.git = { programs.git = {
enable = true; enable = true;
package = pkgs.gitAndTools.gitFull; package = pkgs.gitAndTools.gitFull;
@ -30,5 +32,14 @@ in {
"ssh://git@github.com/" = {insteadOf = https://github.com/;}; "ssh://git@github.com/" = {insteadOf = https://github.com/;};
}; };
}; };
delta = {
enable = true;
options = {
features = "decorations";
delta = {
line-numbers = true;
};
};
};
}; };
} }