From d6c331b940f40cd139324def53c761d6e8c4d4e9 Mon Sep 17 00:00:00 2001 From: Gabe Venberg Date: Thu, 28 Mar 2024 13:31:11 -0500 Subject: [PATCH] added config options for git delta. --- modules/home-manager/terminal/git.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/modules/home-manager/terminal/git.nix b/modules/home-manager/terminal/git.nix index 2cb9226..5d36d93 100644 --- a/modules/home-manager/terminal/git.nix +++ b/modules/home-manager/terminal/git.nix @@ -32,7 +32,13 @@ graph = "log --graph --topo-order --all --pretty=format:'%C(auto)%h %C(cyan)%an %C(blue)%ar %C(auto)%d %s'"; recent = "branch --sort=-committerdate --format='%(committerdate:relative)%09%(refname:short)'"; }; - delta.enable = true; + delta = { + enable = true; + options = { + side-by-side = true; + line-numbers = true; + }; + }; # difftastic.enable=true; # difftastic.background="dark"; userEmail = config.host.git.profile.email;