Update dotfiles/.local/share/chezmoi/.chezmoiexternal.toml, dotfiles/.local/share/chezmoi/.chezmoi.toml.tmpl, dotfiles/.local/share/chezmoi/dot_ssh/authorized_keys.tmpl, dotfiles/.local/share/chezmoi/.chezmoiignore, dotfiles/.config/chezmoi/chezmoi.toml, dotfiles/.local/share/chezmoi/dot_gitconfig.tmpl, dotfiles/.local/share/chezmoi/dot_bashrc.tmpl, dotfiles/.local/share/chezmoi/dot_profile.tmpl, dotfiles/.profile, dotfiles/.local/share/chezmoi/.chezmoitemplates/profile.sh, dotfiles/.vimrc, dotfiles/.local/share/chezmoi/.chezmoitemplates/chassis-info, dotfiles/.local/share/chezmoi/.chezmoitemplates/cpu-info, dotfiles/.local/share/chezmoi/run_once_before_install-software.sh.tmpl, dotfiles/.local/share/chezmoi/.chezmoidata.yaml
Deleted dotfiles/.config/chezmoi/chezmoi.yaml
2022-11-21 17:06:51 -08:00
|
|
|
{{- $codespaces:= env "CODESPACES" | not | not -}}
|
2022-11-21 23:17:51 -08:00
|
|
|
{{- if $codespaces | not }}
|
|
|
|
{{- $email := promptStringOnce . "email" "Primary e-mail address" -}}
|
|
|
|
{{- $name := promptStringOnce . "name" "Full name" -}}
|
|
|
|
{{- $gmailAddress := promptStringOnce "Gmail address" -}}
|
|
|
|
{{- $gmailAddressAppPassword := promptStringOnce "Gmail app password" -}}
|
|
|
|
{{- end }}
|
Update dotfiles/.local/share/chezmoi/.chezmoiexternal.toml, dotfiles/.local/share/chezmoi/.chezmoi.toml.tmpl, dotfiles/.local/share/chezmoi/dot_ssh/authorized_keys.tmpl, dotfiles/.local/share/chezmoi/.chezmoiignore, dotfiles/.config/chezmoi/chezmoi.toml, dotfiles/.local/share/chezmoi/dot_gitconfig.tmpl, dotfiles/.local/share/chezmoi/dot_bashrc.tmpl, dotfiles/.local/share/chezmoi/dot_profile.tmpl, dotfiles/.profile, dotfiles/.local/share/chezmoi/.chezmoitemplates/profile.sh, dotfiles/.vimrc, dotfiles/.local/share/chezmoi/.chezmoitemplates/chassis-info, dotfiles/.local/share/chezmoi/.chezmoitemplates/cpu-info, dotfiles/.local/share/chezmoi/run_once_before_install-software.sh.tmpl, dotfiles/.local/share/chezmoi/.chezmoidata.yaml
Deleted dotfiles/.config/chezmoi/chezmoi.yaml
2022-11-21 17:06:51 -08:00
|
|
|
sourceDir = {{ .chezmoi.sourceDir | quote }}
|
|
|
|
|
|
|
|
[data]
|
|
|
|
codespaces = {{ $codespaces }}
|
|
|
|
headless = {{ $headless }}
|
|
|
|
{{- if $codespaces }}
|
|
|
|
email = "help@megabyte.space"
|
2022-11-21 23:17:51 -08:00
|
|
|
gmailAddress = ""
|
|
|
|
gmailAddressAppPassword = ""
|
Update dotfiles/.local/share/chezmoi/.chezmoiexternal.toml, dotfiles/.local/share/chezmoi/.chezmoi.toml.tmpl, dotfiles/.local/share/chezmoi/dot_ssh/authorized_keys.tmpl, dotfiles/.local/share/chezmoi/.chezmoiignore, dotfiles/.config/chezmoi/chezmoi.toml, dotfiles/.local/share/chezmoi/dot_gitconfig.tmpl, dotfiles/.local/share/chezmoi/dot_bashrc.tmpl, dotfiles/.local/share/chezmoi/dot_profile.tmpl, dotfiles/.profile, dotfiles/.local/share/chezmoi/.chezmoitemplates/profile.sh, dotfiles/.vimrc, dotfiles/.local/share/chezmoi/.chezmoitemplates/chassis-info, dotfiles/.local/share/chezmoi/.chezmoitemplates/cpu-info, dotfiles/.local/share/chezmoi/run_once_before_install-software.sh.tmpl, dotfiles/.local/share/chezmoi/.chezmoidata.yaml
Deleted dotfiles/.config/chezmoi/chezmoi.yaml
2022-11-21 17:06:51 -08:00
|
|
|
name = "Megabyte Labs"
|
|
|
|
{{- else }}
|
|
|
|
email = {{ $email | quote }}
|
2022-11-21 23:17:51 -08:00
|
|
|
gmailAddress = {{ $gmailAddress | quote }}
|
|
|
|
gmailAddressAppPassword = {{ $gmailAddressAppPassword | quote }}
|
Update dotfiles/.local/share/chezmoi/.chezmoiexternal.toml, dotfiles/.local/share/chezmoi/.chezmoi.toml.tmpl, dotfiles/.local/share/chezmoi/dot_ssh/authorized_keys.tmpl, dotfiles/.local/share/chezmoi/.chezmoiignore, dotfiles/.config/chezmoi/chezmoi.toml, dotfiles/.local/share/chezmoi/dot_gitconfig.tmpl, dotfiles/.local/share/chezmoi/dot_bashrc.tmpl, dotfiles/.local/share/chezmoi/dot_profile.tmpl, dotfiles/.profile, dotfiles/.local/share/chezmoi/.chezmoitemplates/profile.sh, dotfiles/.vimrc, dotfiles/.local/share/chezmoi/.chezmoitemplates/chassis-info, dotfiles/.local/share/chezmoi/.chezmoitemplates/cpu-info, dotfiles/.local/share/chezmoi/run_once_before_install-software.sh.tmpl, dotfiles/.local/share/chezmoi/.chezmoidata.yaml
Deleted dotfiles/.config/chezmoi/chezmoi.yaml
2022-11-21 17:06:51 -08:00
|
|
|
name = {{ $name | quote }}
|
|
|
|
{{- end }}
|
|
|
|
|
|
|
|
[git]
|
|
|
|
autoCommit = true
|
|
|
|
autoPush = true
|