nixos/modules/home/git/lazygit.nix

25 lines
414 B
Nix

{
lib,
config,
...
}: let
cfg = config.myConfig.git.lazygit;
in {
options.myConfig.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";
};
};
};
};
}