nix-config/home/essentials/git.nix

21 lines
421 B
Nix

{
programs.git = {
enable = true;
userName = "EinEtwas";
userEmail = "ein@etwas.me";
extraConfig = {
push.autoSetupRemote = true;
init.defaultBranch = "main";
pull.rebase = true;
# Sign all commits using ssh key
commit.gpgsign = true;
gpg.format = "ssh";
user.signingkey = "/home/rhea/.ssh/etwas_sign_key";
};
delta.catppuccin.enable = true;
};
}