-
Notifications
You must be signed in to change notification settings - Fork 0
/
.chezmoi.toml.tmpl
40 lines (32 loc) · 1.03 KB
/
.chezmoi.toml.tmpl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
########## vars ##########
{{- $email := "" -}}
{{- if hasKey . "email" -}}
{{- $email = .email -}}
{{- else -}}
{{- $email = promptString "Email for git" -}}
{{- end -}}
{{- $git_signingkey := "" -}}
{{- if hasKey . "git_signingkey" -}}
{{- $git_signingkey = .git_signingkey -}}
{{- else -}}
{{- $git_signingkey = promptString "GPG key for git" -}}
{{- end -}}
{{- $homebrew_github_token := "" -}}
{{- if hasKey . "homebrew_github_token" -}}
{{- $homebrew_github_token = .homebrew_github_token -}}
{{- else -}}
{{- $homebrew_github_token = promptString "GitHub token for homebrew" -}}
{{- end -}}
########## encryption settings ##########
encryption = "age"
[age]
identity = "{{ .chezmoi.homeDir }}/chezmoi.key"
recipient = "age103gtxahm6tm29vpuu9t00yum2zgxrm33nyf5egvmal8pgtdgavjszejkem"
########## data ##########
[data]
email = {{ $email | quote }}
# git
git_name = "chez-shanpu"
git_signingkey = {{ $git_signingkey | quote }}
# brew
homebrew_github_token = {{ $homebrew_github_token | quote }}