Add lazygit configuration from my old dotfiles
All checks were successful
check / check (push) Successful in 36s

This commit is contained in:
Florian RICHER 2025-06-27 11:43:56 +02:00
parent 7d9119e35b
commit be239649d4
6 changed files with 29 additions and 2 deletions

View file

@ -0,0 +1,22 @@
{ 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";
};
};
};
}