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