git signing

This commit is contained in:
Henri Dohmen 2025-07-14 21:55:44 +02:00
parent fc85e43c82
commit a018670eae
Signed by: hd
GPG key ID: AB79213B044674AE
5 changed files with 69 additions and 8 deletions

View file

@ -44,7 +44,6 @@ in
programs = {
firefox.enable = true;
git.enable = true;
kdeconnect.enable = true;
};
@ -57,6 +56,30 @@ in
withExternalGnupg = true;
};
};
programs.git = {
enable = true;
signing = {
signByDefault = true;
signer = "openpgp";
key = "AB79213B044674AE";
};
userName = "Henri Dohmen";
userEmail = "henridohmen@posteo.com";
extraConfig = {
color.ui = "auto";
column.ui = "auto";
branch.sort = "-committerdate";
alias = {
staash = "stash --all";
};
core = {
editor = "nvim";
autocrlf = "input";
};
init.defaultBranch = "main";
credential.helper = "libsecret";
};
};
};
# Some excludes