nixos/modules/home/shell/lazygit.nix
Florian RICHER be239649d4
All checks were successful
check / check (push) Successful in 36s
Add lazygit configuration from my old dotfiles
2025-06-27 11:43:56 +02:00

22 lines
373 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";
};
};
};
}