install.fairie/home/dot_ssh/private_config.tmpl
Brian Zalewski 677780abc6 Update 9 files
- /home/.chezmoitemplates/secrets/ssh-config-fallback
- /home/.chezmoitemplates/secrets/ssh-config
- /home/.chezmoiscripts/universal/run_onchange_after_80-bash-completions.tmpl
- /home/dot_zshrc
- /home/dot_config/Code/User/extensions.json
- /home/.chezmoidata.yaml
- /home/dot_ssh/private_config.tmpl
- /software.yml
- /docs/TODO.md
2023-01-26 07:08:57 +00:00

5 lines
No EOL
379 B
Cheetah

{{- if and (stat (joinPath .host.home ".config" "age" "chezmoi.txt")) (stat (joinPath .chezmoi.sourceDir ".chezmoitemplates" "secrets" "ssh-config")) -}}
{{ includeTemplate "secrets/ssh-config" | decrypt -}}
{{ else if (stat (joinPath .chezmoi.sourceDir ".chezmoitemplates" "secrets" "ssh-config-fallback")) -}}
{{ includeTemplate "secrets/ssh-config-fallback" }}
{{- end -}}