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" -}} {{- $gmailAddress := "noreply@gmail.com" -}}
{{- $gmailAddressAppPassword := "" -}} {{- $gmailAddressAppPassword := "" -}}
{{- $domain := "megabyte.space" -}} {{- $domain := "megabyte.space" -}}
{{- $cloudflareUsername := "noreply@megabyte.space" -}} {{- $cloudflareUsername := "" -}}
{{- $cloudflareToken := "" -}} {{- $cloudflareToken := "" -}}
{{- $cloudflareAccessKeyId := "" -}} {{- $cloudflareAccessKeyId := "" -}}
{{- $cloudflareSecretAccessKey := "" -}} {{- $cloudflareSecretAccessKey := "" -}}
{{- $cloudflareR2AccountId := "" -}} {{- $cloudflareR2AccountId := "" -}}
{{- $githubUsername := "ProfessorManhattan" -}}
{{- $githubReadToken := "" -}} {{- $githubReadToken := "" -}}
{{- $gitlabReadToken := "" -}} {{- $gitlabReadToken := "" -}}
{{- $ngrokAuthToken := "" -}} {{- $ngrokAuthToken := "" -}}
@ -99,6 +100,7 @@
{{- $cloudflareToken = promptStringOnce $data.user "cloudflareToken" "CloudFlare API Token" $cloudflareToken -}} {{- $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 }} {{- $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 }} {{- $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 -}} {{- $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 -}}
{{- $ngrokAuthToken = promptStringOnce $data.user "ngrokAuthToken" "Ngrok authentication token" $ngrokAuthToken -}} {{- $ngrokAuthToken = promptStringOnce $data.user "ngrokAuthToken" "Ngrok authentication token" $ngrokAuthToken -}}
@ -139,6 +141,7 @@ data:
domain: "{{ $domain }}" domain: "{{ $domain }}"
gmailAddress: "{{ $gmailAddress }}" gmailAddress: "{{ $gmailAddress }}"
gmailAddressAppPassword: "{{ $gmailAddressAppPassword }}" gmailAddressAppPassword: "{{ $gmailAddressAppPassword }}"
githubUsername: "{{ $githubUsername }}"
locale: "en_US" locale: "en_US"
timezone: "America/New_York" timezone: "America/New_York"
CLOUDFLARE_USERNAME: "{{ $cloudflareUsername }}" CLOUDFLARE_USERNAME: "{{ $cloudflareUsername }}"

View file

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