nixos/modules/home/git/lazygit.nix

25 lines
396 B
Nix
Raw Normal View History

{
lib,
config,
...
}: let
cfg = config.git.lazygit;
in {
options = {
git.lazygit.enable = lib.mkEnableOption "lazygit, a git tui";
};
config = lib.mkIf cfg.enable {
programs.lazygit = {
enable = true;
settings = {
gui = {
shwoRandomTip = false;
nerdFontsVersion = "3";
border = "rounded";
};
};
};
};
}