From 6eef2a92da956b59a1cc364007e7133c576568a4 Mon Sep 17 00:00:00 2001 From: alejandro-angulo Date: Thu, 8 Aug 2024 17:20:45 -0700 Subject: [PATCH] Added lazygit to git module This also integrates lazygit with delta --- modules/home/tools/git/default.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/modules/home/tools/git/default.nix b/modules/home/tools/git/default.nix index 716b046..03d34bd 100644 --- a/modules/home/tools/git/default.nix +++ b/modules/home/tools/git/default.nix @@ -83,5 +83,15 @@ in { }; }; }; + + programs.lazygit = { + enable = true; + settings = { + git.paging = { + colorArg = "always"; + pager = "${pkgs.delta}/bin/delta --dark --paging=never"; + }; + }; + }; }; }