diff options
| -rw-r--r-- | profiles/core/git.nix | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/profiles/core/git.nix b/profiles/core/git.nix index 871ac7d..a09552f 100644 --- a/profiles/core/git.nix +++ b/profiles/core/git.nix @@ -15,9 +15,26 @@ with lib; { merge.tool = "fugitive"; gpg.format = "ssh"; user.signingKey = "${config.my.home}/.ssh/id_ed25519_sk.pub"; - commit.gpgsign = true; + commit.gpgsign = false; }; + includes = let + no-reply-email = { + user = { + email = "59492084+ivi-vink@users.noreply.github.com"; + }; + }; + in [ + { + condition = "hasconfig:remote.*.url:git@github.com:**/**"; + contents = no-reply-email; + } + { + condition = "hasconfig:remote.*.url:https://github.com/**/**"; + contents = no-reply-email; + } + ]; + ignores = [ "/.direnv/" "/.envrc" |
