Files
dotfiles/nix/home/lazygit/default.nix
Stefan Imhoff 9c6d620ce6 chore(nix): remove extra home packages for programs
As it can lead to conflicts between versions, I removed the additional
imports. They are not needed as the program is installed by enabling the
program.
2024-07-29 15:42:23 +02:00

33 lines
686 B
Nix

{ ... }:
{
programs.lazygit = {
enable = true;
settings = {
git = {
overrideGpg = true;
paging = {
colorArg = "always";
pager = "delta --dark --paging=never syntax-theme=Dracula";
};
};
customCommands = [
{
key = "C";
command = "git cz c";
description = "commit with commitizen";
context = "files";
loadingText = "opening commitizen commit tool";
subprocess = true;
}
{
key = "W";
command = "git commit --no-verify";
context = "global";
subprocess = true;
}
];
};
};
}