Latest
This commit is contained in:
parent
2d378ac8de
commit
040bb45cfd
1 changed files with 1 additions and 1 deletions
|
@ -233,7 +233,7 @@ fi
|
||||||
|
|
||||||
{{- $registrationToken := "" }}
|
{{- $registrationToken := "" }}
|
||||||
{{- if and (stat (joinPath .host.home ".config" "age" "chezmoi.txt")) (stat (joinPath .chezmoi.sourceDir ".chezmoitemplates" "cloudflared" .host.hostname)) -}}
|
{{- if and (stat (joinPath .host.home ".config" "age" "chezmoi.txt")) (stat (joinPath .chezmoi.sourceDir ".chezmoitemplates" "cloudflared" .host.hostname)) -}}
|
||||||
{{- $registrationToken := (includeTemplate (joinPath "cloudflared" .host.hostname) | decrypt) -}}
|
{{- $registrationToken := (includeTemplate (print "cloudflared/" .host.hostname) | decrypt) -}}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
### Set up CloudFlare tunnels
|
### Set up CloudFlare tunnels
|
||||||
if command -v cloudflared > /dev/null && [ -d "$HOME/.local/etc/cloudflared" ]; then
|
if command -v cloudflared > /dev/null && [ -d "$HOME/.local/etc/cloudflared" ]; then
|
||||||
|
|
Loading…
Reference in a new issue