This commit is contained in:
John Lancaster
2025-06-30 22:45:04 -05:00
parent c954124c13
commit 57d59a9dea
5 changed files with 53 additions and 23 deletions

View File

@@ -3,12 +3,15 @@
programs.git = lib.mkMerge [
{
enable = true;
extraConfig.credential.helper = "store --file ~/.git-credentials";
extraConfig = {
credential.helper = "store --file ~/.git-credentials";
init.defaultBranch = "main";
push.autoSetupRemote = true;
};
}
(lib.mkIf (config.profile == "personal") {
userName = "John Lancaster";
userEmail = "32917998+jsl12@users.noreply.github.com";
})
(lib.mkIf (config.profile == "work") {
userName = "John Lancaster";