summaryrefslogtreecommitdiff
path: root/profiles
diff options
context:
space:
mode:
authorMike Vink <59492084+ivi-vink@users.noreply.github.com>2024-10-18 12:07:42 +0000
committerMike Vink <59492084+ivi-vink@users.noreply.github.com>2024-10-18 12:07:42 +0000
commit914b52c618c263be0f22a50f91fa870f6cf717e4 (patch)
tree3f725a329c5b012f81176e576a18ecda09e2c1ed /profiles
parentfd903650dec994425d8d17bda4cc2a1523851854 (diff)
github use private email settings
Diffstat (limited to 'profiles')
-rw-r--r--profiles/core/git.nix19
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"