-
Notifications
You must be signed in to change notification settings - Fork 0
/
.chezmoi.toml.tmpl
21 lines (20 loc) · 1.02 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
{{- $email := promptStringOnce . "email" "Email address" -}}
{{- $hostowner := promptStringOnce . "hostowner" "Machine owner [personal|work]" -}}
{{- $hosttype := promptStringOnce . "hosttype" "Machine type [pc|server]" -}}
{{- $gitgpg := promptStringOnce . "gitgpg" "GitHub GPG signing key" -}}
{{- $computername := .chezmoi.hostname -}}
{{- if (eq .chezmoi.os "darwin") }}
{{- $computername = output "scutil" "--get" "ComputerName" | trim -}}
{{- end -}}
{{- $org_directory := promptStringOnce . "org_directory" "Org directory" -}}
{{- $emacsdiarycals := promptStringOnce . "emacsdiarycals" "Emacs diary cals" -}}
{{- $dev_level := promptStringOnce . "dev_level" "Machine dev level (1 is highest)" -}}
[data]
email = {{ $email | quote }}
hostowner = {{ $hostowner | quote }}
hosttype = {{ $hosttype | quote }}
gitgpg = {{ $gitgpg | quote }}
computername = {{ $computername | quote }}
org_directory = {{ $org_directory | quote }}
emacsdiarycals = {{ $emacsdiarycals | quote }}
dev_level = {{ $dev_level }}