diff --git a/dot_gitconfig.tmpl b/dot_gitconfig.tmpl index 0b1b107..81a9eda 100644 --- a/dot_gitconfig.tmpl +++ b/dot_gitconfig.tmpl @@ -59,3 +59,5 @@ [rerere] enabled = true +[commit] + gpgsign = true diff --git a/dot_gitconfig_front.tmpl b/dot_gitconfig_front.tmpl index 6cedffd..c683383 100644 --- a/dot_gitconfig_front.tmpl +++ b/dot_gitconfig_front.tmpl @@ -1,7 +1,11 @@ [user] name = {{ .gitea_name }} email = {{ .gitea_email }} +{{ if .homebrew }} + signingkey = /Users/kah/.ssh/id_clank +{{ else }} signingkey = /home/kjuulh/.ssh/id_clank +{{ end }} [gpg] format = ssh