From 7eaf41627b52616a50a7f780825a383f9eb90c17 Mon Sep 17 00:00:00 2001 From: punkfairie Date: Sat, 2 Nov 2024 13:23:03 -0700 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat(lazygit):=20Install=20lazygit?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- home/default.nix | 1 + home/lazygit/default.nix | 17 +++++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 home/lazygit/default.nix diff --git a/home/default.nix b/home/default.nix index 33612e3..686e09c 100644 --- a/home/default.nix +++ b/home/default.nix @@ -38,6 +38,7 @@ ./fish ./gh ./hyfetch + ./lazygit ./less ./man ./syncthing diff --git a/home/lazygit/default.nix b/home/lazygit/default.nix new file mode 100644 index 0000000..08fb816 --- /dev/null +++ b/home/lazygit/default.nix @@ -0,0 +1,17 @@ +{...}: { + programs.lazygit = { + enable = true; + + settings = { + gui.nerdFontsVersion = 3; + + git.paging = { + colorArg = "always"; + # TODO only set this if delta is installed + pager = "delta --paging=never --features=arctic-fox"; + }; + + os.editPreset = "nvim-remote"; + }; + }; +}