Files
2026-03-31 16:53:11 +02:00

32 lines
749 B
Nix

{pkgs, ...}: let
configFile = "lazygit/config.yml";
toYAML = (pkgs.formats.yaml {}).generate;
in {
users.users.someone.packages = [pkgs.lazygit];
xdg.configFile."${configFile}".source = toYAML "config.yml" {
disableStartupPopups = true;
git = {
commit = {
signOff = true;
};
parseEmoji = true;
};
gui = {
nerdFontsVersion = "3";
showBottomLine = false;
showCommandLog = false;
showListFooter = false;
showRandomTip = false;
theme = {
activeBorderColor = ["magenta" "bold"];
inactiveBorderColor = ["black"];
};
};
notARepository = "skip";
promptToReturnFromSubprocess = false;
update = {
method = "never";
};
};
}