niksos/modules/cli/git.nix

26 lines
597 B
Nix
Raw Normal View History

2023-09-08 16:10:15 +02:00
{
pkgs,
...
}: {
programs.git = {
enable = true;
userName = "jacekpoz";
userEmail = "jacekpoz@cock.li";
signing = {
key = "0EEE6B0C9A8CC06820E59C3894E812A8B12AAE3C";
signByDefault = true;
};
includes = [
{
contents = { core.editor = "${pkgs.neovim-nightly}/bin/nvim"; };
}
{
contents = { init.defaultBranch = "master"; };
}
{
contents = { push.autoSetupRemote = true; };
}
];
};
}