mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2025-01-31 09:55:38 +01:00
configured delta for git
This commit is contained in:
parent
4922c9fcb4
commit
a06384c5d3
1 changed files with 11 additions and 0 deletions
|
@ -1,10 +1,21 @@
|
|||
{ config, pkgs, ... }:
|
||||
{
|
||||
home.packages = with pkgs; [ delta ];
|
||||
programs.git = {
|
||||
enable = true;
|
||||
userName = "Rouven Seifert";
|
||||
userEmail = "rouven@rfive.de";
|
||||
extraConfig = {
|
||||
core.pager = "delta";
|
||||
interactive.diffFilter = "delta --color-only";
|
||||
delta = {
|
||||
navigate = true;
|
||||
light = false;
|
||||
side-by-side = true;
|
||||
line-numbers = true;
|
||||
};
|
||||
merge.conflictStyle = "diff3";
|
||||
diff.colorMoved = "default";
|
||||
user.signingkey = "B95E8FE6B11C4D09";
|
||||
pull.rebase = false;
|
||||
init.defaultBranch = "main";
|
||||
|
|
Loading…
Add table
Reference in a new issue