27 lines
607 B
Cheetah
27 lines
607 B
Cheetah
{{- $profile := false -}}
|
|
{{- if eq (substr 0 3 .chezmoi.hostname) "lx-" -}}
|
|
{{- $profile = "sfpd" -}}
|
|
{{- else -}}
|
|
{{- $profile = promptStringOnce . "profile" "Profile" -}}
|
|
{{- end -}}
|
|
|
|
{{- $user := false -}}
|
|
{{- $email := false -}}
|
|
|
|
{{- if eq $profile "personal" -}}
|
|
{{- $user = "ymo" -}}
|
|
{{- $email = "yuri.moens@gmail.com" -}}
|
|
{{- else if eq $profile "sfpd" -}}
|
|
{{- $user = "moyur" -}}
|
|
{{- $email = "yuri.moens@sfpd.fgov.be" -}}
|
|
{{- end -}}
|
|
|
|
encryption = "gpg"
|
|
[gpg]
|
|
recipient = "yuri.moens@gmail.com"
|
|
|
|
[data]
|
|
profile = "{{ $profile }}"
|
|
user = "{{ $user }}"
|
|
email = {{ $email | quote }}
|