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"; + }; + }; +}