nixos/modules/home/shell/lazygit.nix
Florian RICHER ffc57fd1e3
All checks were successful
check / check (push) Successful in 33s
git,lazygit: Enable difftastic
2025-07-16 14:31:07 +02:00

25 lines
461 B
Nix

{ config, lib, ... }:
with lib;
let
cfg = config.modules.home.shell.lazygit;
in
{
options.modules.home.shell.lazygit = {
enable = mkEnableOption ''
Enable lazygit with my custom configurations
'';
};
config = mkIf cfg.enable {
programs.lazygit = {
enable = true;
settings = {
git = {
pull.mode = "rebase";
paging.externalDiffCommand = "difft --color=always";
};
};
};
};
}