git example

This commit is contained in:
John Lancaster
2024-11-17 20:53:32 +00:00
parent 44f1b67d11
commit aab33e4786

10
git.nix Normal file
View File

@@ -0,0 +1,10 @@
{ repoPath, ... }:
{
programs.git = {
enable = true;
extraConfig.safe.directory = "${repoPath}";
extraConfig.credential.helper = "store --file ~/.git-credentials";
userName = "John Lancaster";
userEmail = "32917998+jsl12@users.noreply.github.com";
};
}