nixos/homeConfig/modules/git/config/git.nix

34 lines
565 B
Nix

{
enable = true;
userName = "Bryan Ramos";
userEmail = "bryan@ramos.codes";
signing = {
key = "F1F3466458452B2DF351F1E864D12BA95ACE1F2D";
signByDefault = true;
};
extraConfig = {
init = { defaultBranch = "master"; };
mergetool = {
lazygit = {
cmd = "lazygit";
trustExitCode = true;
};
};
merge = {
tool = "lazygit";
};
safe = {
directory = "/etc/nixos";
};
};
ignores = [
"node_modules"
".direnv"
"dist-newstyle"
".nuxt/"
".output/"
"dist"
];
}