restructured

This commit is contained in:
John Lancaster
2025-07-02 17:58:30 -05:00
parent aa6e9a515f
commit e2fa10ae0d
6 changed files with 64 additions and 30 deletions

View File

@@ -0,0 +1,21 @@
{ config, lib, ... }:
{
programs.git = lib.mkMerge [
{
enable = true;
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";
userEmail = "john.lancaster@crowncastle.com";
})
];
}