Add lazygit configuration from my old dotfiles
All checks were successful
check / check (push) Successful in 36s
All checks were successful
check / check (push) Successful in 36s
This commit is contained in:
parent
7d9119e35b
commit
be239649d4
6 changed files with 29 additions and 2 deletions
|
@ -5,6 +5,7 @@
|
|||
./atuin.nix
|
||||
./direnv.nix
|
||||
./git.nix
|
||||
./lazygit.nix
|
||||
./zsh
|
||||
];
|
||||
}
|
||||
}
|
||||
|
|
22
modules/home/shell/lazygit.nix
Normal file
22
modules/home/shell/lazygit.nix
Normal 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";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue