nixos/home-modules/lazygit.nix
jmug 9a67c5444e Don't sign off commits with lazygit.
Signed-off-by: jmug <u.g.a.mariano@gmail.com>
2025-08-17 19:07:18 -07:00

33 lines
720 B
Nix

{ ... }: {
programs.lazygit = {
enable = true;
settings = {
# git.commit.signOff = true;
git.autoFetch = false;
git.autoRefresh = false;
keybinding = {
universal = {
prevItem-alt = "e";
nextItem-alt = "n";
prevBlock-alt = "m";
nextBlock-alt = "i";
nextMatch = "@";
prevMatch = "#";
new = "+";
edit = "~";
nextScreenMode = "*";
};
files.ignoreFile = "-";
branches.viewGitFlowOptions = "g";
commits.startInteractiveRebase = "I";
submodules.init = "I";
};
};
};
programs.zsh = {
shellAliases = {
lg = "lazygit";
};
};
}