setup-env #1

Merged
noah.knegt merged 28 commits from setup-env into main 2025-02-28 21:49:32 +01:00
8 changed files with 111 additions and 21 deletions
Showing only changes of commit f3d3383173 - Show all commits

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";
}; };