24 lines
413 B
Nix
24 lines
413 B
Nix
{ config, lib, ... }:
|
|
let
|
|
has-delta = config.programs.git.delta.enable;
|
|
in
|
|
{
|
|
programs.lazygit = {
|
|
enable = true;
|
|
|
|
settings = {
|
|
gui.nerdFontsVersion = 3;
|
|
|
|
git.paging = {
|
|
colorArg = "always";
|
|
pager = lib.mkIf has-delta "delta --paging=never --features=arctic-fox";
|
|
};
|
|
|
|
os.editPreset = "nvim-remote";
|
|
};
|
|
};
|
|
|
|
home.shellAbbrs = {
|
|
lzg = "lazygit";
|
|
};
|
|
}
|