From a78be6523e7e05200cacc41c3d87a7c63f430572 Mon Sep 17 00:00:00 2001 From: kiana-S Date: Fri, 27 Oct 2023 15:05:12 -0400 Subject: [PATCH] Install and configure delta --- home-manager/default.nix | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/home-manager/default.nix b/home-manager/default.nix index 8d789e1..326609f 100644 --- a/home-manager/default.nix +++ b/home-manager/default.nix @@ -15,13 +15,25 @@ userName = fullname; userEmail = "kiana.a.sheibani@gmail.com"; + signing.key = "6CB106C25E86A9F7"; + signing.signByDefault = true; + extraConfig = { credential.helper = "store"; git.allowForcePush = true; + push.followTags = true; init.defaultBranch = "main"; + }; - user.signingkey = "6CB106C25E86A9F7"; - commit.gpgsign = true; + delta.enable = true; + delta.options = { + features = "decorations"; + relative-paths = true; + + decorations = { + file-style = "yellow"; + hunk-header-style = "line-number syntax"; + }; }; };