mirror of
https://github.com/kogakure/dotfiles.git
synced 2026-02-03 20:25:30 +00:00
33 lines
686 B
Nix
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;
|
|
}
|
|
];
|
|
};
|
|
};
|
|
}
|