Update dotfiles/.local/share/chezmoi/home/.chezmoi.yaml.tmpl
This commit is contained in:
parent
c3432ecaa1
commit
48f2e2681f
1 changed files with 5 additions and 17 deletions
|
@ -76,19 +76,6 @@
|
||||||
{{- $_ := set $toolchainsEnabled $toolchain $enabled }}
|
{{- $_ := set $toolchainsEnabled $toolchain $enabled }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
{{- else -}}
|
|
||||||
{{- $headless = true -}}
|
|
||||||
{{- writeToStdout "Chezmoi is running in headless environment.\n" -}}
|
|
||||||
{{- end -}}
|
|
||||||
|
|
||||||
{{ if not $headless -}}
|
|
||||||
age:
|
|
||||||
identity: "{{ .chezmoi.homeDir }}/.config/age/key.txt"
|
|
||||||
recipient: "age16kxd4ljclq9ksnxvl2ee7a5xnj744kwyv04p04ka0n3rzxdpl5nsq52svl"
|
|
||||||
{{- end }}
|
|
||||||
|
|
||||||
{{- if stdinIsATTY -}}
|
|
||||||
|
|
||||||
{{- $domain = promptStringOnce $data.user "domain" "Domain" $domain -}}
|
{{- $domain = promptStringOnce $data.user "domain" "Domain" $domain -}}
|
||||||
{{- $gmailAddress = promptStringOnce $data.user "gmailAddress" "G-mail address" $gmailAddress -}}
|
{{- $gmailAddress = promptStringOnce $data.user "gmailAddress" "G-mail address" $gmailAddress -}}
|
||||||
{{- $gmailAddressAppPassword = promptStringOnce $data.user "gmailAddressAppPassword" "G-mail app password" $gmailAddressAppPassword -}}
|
{{- $gmailAddressAppPassword = promptStringOnce $data.user "gmailAddressAppPassword" "G-mail app password" $gmailAddressAppPassword -}}
|
||||||
|
@ -96,15 +83,16 @@ age:
|
||||||
{{- $slackApiToken = promptStringOnce $data.user "slackApiToken" "Slack API token" $slackApiToken -}}
|
{{- $slackApiToken = promptStringOnce $data.user "slackApiToken" "Slack API token" $slackApiToken -}}
|
||||||
{{- $tabbySyncToken = promptStringOnce $data.user "tabbySyncToken" "Tabby Sync Token" $tabbySyncToken -}}
|
{{- $tabbySyncToken = promptStringOnce $data.user "tabbySyncToken" "Tabby Sync Token" $tabbySyncToken -}}
|
||||||
|
|
||||||
{{- writeToStdout "💡 Tip: you can re-enter your name and email with `chezmoi init --data=false`.\n" -}}
|
|
||||||
|
|
||||||
{{- else -}}
|
{{- else -}}
|
||||||
|
|
||||||
{{- $headless = true -}}
|
{{- $headless = true -}}
|
||||||
{{- writeToStdout "Chezmoi is running in headless environment.\n" -}}
|
{{- writeToStdout "Chezmoi is running in headless environment.\n" -}}
|
||||||
|
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
|
{{- if not $headless -}}
|
||||||
|
age:
|
||||||
|
identity: "{{ .chezmoi.homeDir }}/.config/age/key.txt"
|
||||||
|
recipient: "age16kxd4ljclq9ksnxvl2ee7a5xnj744kwyv04p04ka0n3rzxdpl5nsq52svl"
|
||||||
|
{{- end }}
|
||||||
data:
|
data:
|
||||||
host:
|
host:
|
||||||
arch: "{{ .chezmoi.arch }}"
|
arch: "{{ .chezmoi.arch }}"
|
||||||
|
|
Loading…
Reference in a new issue