Update dotfiles/.local/share/chezmoi/home/.chezmoi.yaml.tmpl, dotfiles/.local/share/chezmoi/home/dot_ssh/authorized_keys.github.tmpl

This commit is contained in:
Brian Zalewski 2022-11-24 22:27:51 +00:00
parent 9b16806cc4
commit a72c6e7a54
2 changed files with 5 additions and 2 deletions

View file

@ -5,11 +5,12 @@
{{- $gmailAddress := "noreply@gmail.com" -}}
{{- $gmailAddressAppPassword := "" -}}
{{- $domain := "megabyte.space" -}}
{{- $cloudflareUsername := "noreply@megabyte.space" -}}
{{- $cloudflareUsername := "" -}}
{{- $cloudflareToken := "" -}}
{{- $cloudflareAccessKeyId := "" -}}
{{- $cloudflareSecretAccessKey := "" -}}
{{- $cloudflareR2AccountId := "" -}}
{{- $githubUsername := "ProfessorManhattan" -}}
{{- $githubReadToken := "" -}}
{{- $gitlabReadToken := "" -}}
{{- $ngrokAuthToken := "" -}}
@ -99,6 +100,7 @@
{{- $cloudflareToken = promptStringOnce $data.user "cloudflareToken" "CloudFlare API Token" $cloudflareToken -}}
{{- $gitlabReadToken = promptStringOnce $data.user "gitlabReadToken" "GitLab read-only token (See: https://github.com/gabrie30/ghorg#scm-provider-setup)" $gitlabReadToken }}
{{- $githubReadToken = promptStringOnce $data.user "githubReadToken" "GitHub read-only token (See: https://github.com/gabrie30/ghorg#scm-provider-setup)" $githubReadToken }}
{{- $githubUsername = promptStringOnce $data.user "githubUsername" "GitHub username" $githubUsername -}}
{{- $gmailAddress = promptStringOnce $data.user "gmailAddress" "G-mail address" $gmailAddress -}}
{{- $gmailAddressAppPassword = promptStringOnce $data.user "gmailAddressAppPassword" "G-mail app password" $gmailAddressAppPassword -}}
{{- $ngrokAuthToken = promptStringOnce $data.user "ngrokAuthToken" "Ngrok authentication token" $ngrokAuthToken -}}
@ -139,6 +141,7 @@ data:
domain: "{{ $domain }}"
gmailAddress: "{{ $gmailAddress }}"
gmailAddressAppPassword: "{{ $gmailAddressAppPassword }}"
githubUsername: "{{ $githubUsername }}"
locale: "en_US"
timezone: "America/New_York"
CLOUDFLARE_USERNAME: "{{ $cloudflareUsername }}"

View file

@ -1,3 +1,3 @@
{{ range gitHubKeys "$GITHUB_USERNAME" -}}
{{ range gitHubKeys .user.githubUsername -}}
{{ .Key }}
{{ end -}}