Some signing key stuff

This commit is contained in:
2025-02-27 17:38:22 +01:00
parent a112e80baa
commit f3d3383173

View File

@@ -8,7 +8,13 @@
userName = "Noah Knegt";
userEmail = "personal@noahknegt.com";
signing = {
key = "~/.ssh/id_ed25519.pub";
signByDefault = true;
};
extraConfig = {
gpg = { format = "ssh"; };
push = { autoSetupRemote = true; };
pull = { rebase = true; };
fetch = { prune = true; };
@@ -17,12 +23,14 @@
includes = [
{
condition = "gitdir:~/git.noahknegt.com";
path = "~/.config/git/git.noahknegt.com.gitconfig";
contents = {
userEmail = "git@noahknegt.com";
};
}
{
condition = "gitdir:~/open-source";
path = "~/.config/git/open-source.gitconfig";
contents = {
userEmail = "git@noahknegt.com";
};