nixos/common/git.nix

25 lines
442 B
Nix
Raw Permalink Normal View History

2024-02-16 13:59:46 +01:00
{
programs.git = {
enable = true;
lfs.enable = true;
extraConfig = {
init = {
defaultBranch = "main";
};
};
includes = [
{
contents = {
gpg.format = "ssh";
user = {
name = "Leon Vatthauer";
email = "leon.vatthauer@fau.de";
signingkey = "~/.ssh/git";
};
commit.gpgsign = true;
};
}
];
};
}