diff --git a/user/.chezmoi.yaml.tmpl b/user/.chezmoi.yaml.tmpl index cfe0475..8df5484 100644 --- a/user/.chezmoi.yaml.tmpl +++ b/user/.chezmoi.yaml.tmpl @@ -1,5 +1,6 @@ {{- $git_email := promptStringOnce . "git.email" "Git Email Address" -}} {{- $git_user := promptStringOnce . "git.user" "Git User Name" -}} +{{- $git_signingkey := promptStringOnce . "git.signingkey" "Git Signing Key" -}} {{- $gpg_recipient := promptStringOnce . "gpg.recipient" "GPG Recipient Address" -}} {{- $is_intel_cpu := promptBoolOnce . "cpu.intel" "Is this a Intel CPU?" -}} {{- $is_intel_i915_gpu := promptBoolOnce . "gpu.intel_i915" "Is this a Intel i915 GPU?" -}} @@ -9,6 +10,7 @@ data: git: email: {{ $git_email | quote }} user: {{ $git_user | quote }} + signingkey: {{ $git_signingkey | quote }} gpg: recipient: {{ $gpg_recipient | quote }} cpu: diff --git a/user/dot_gitconfig.tmpl b/user/dot_gitconfig.tmpl index 46543cf..c254201 100644 --- a/user/dot_gitconfig.tmpl +++ b/user/dot_gitconfig.tmpl @@ -1,7 +1,7 @@ [user] name = {{ .git.user }} email = {{ .git.email }} - + signingkey = {{ .git.signingkey }} [core] pager = bat autocrlf = input