diff --git a/git.nix b/git.nix new file mode 100644 index 0000000..b166c30 --- /dev/null +++ b/git.nix @@ -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"; + }; +} \ No newline at end of file