git updates
This commit is contained in:
@@ -3,15 +3,15 @@
|
|||||||
programs.git = lib.mkMerge [
|
programs.git = lib.mkMerge [
|
||||||
{
|
{
|
||||||
enable = true;
|
enable = true;
|
||||||
extraConfig = {
|
settings = {
|
||||||
credential.helper = "store --file ~/.git-credentials";
|
credential.helper = "store --file ~/.git-credentials";
|
||||||
init.defaultBranch = "main";
|
init.defaultBranch = "main";
|
||||||
push.autoSetupRemote = true;
|
push.autoSetupRemote = true;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
(lib.mkIf (config.profile == "personal") {
|
(lib.mkIf (config.profile == "personal") {
|
||||||
userName = "John Lancaster";
|
user.name = "John Lancaster";
|
||||||
userEmail = "32917998+jsl12@users.noreply.github.com";
|
user.email = "32917998+jsl12@users.noreply.github.com";
|
||||||
})
|
})
|
||||||
(lib.mkIf (config.profile == "work") {
|
(lib.mkIf (config.profile == "work") {
|
||||||
userName = "John Lancaster";
|
userName = "John Lancaster";
|
||||||
|
|||||||
Reference in New Issue
Block a user