install.fairie/home/dot_config/warp/private_mdm.xml.tmpl

21 lines
920 B
Cheetah
Raw Normal View History

{{ if eq .host.distro.family "linux" -}}
<dict>
<key>enable</key>
<true />
<key>onboarding</key>
<false />
<key>auto_connect</key>
<interger>60</interger>
<key>organization</key>
<string>manhattan</string>
<key>service_mode</key>
<string>warp</string>
<key>support_url</key>
<string>https://megabyte.space</string>
<key>auth_client_id</key>
<string>{{ if (stat (joinPath .chezmoi.sourceDir ".chezmoitemplates" "secrets" "CLOUDFLARE_TEAMS_CLIENT_ID")) }}{{- includeTemplate "secrets/CLOUDFLARE_TEAMS_CLIENT_ID" | decrypt -}}{{ else }}{{- env "CLOUDFLARE_TEAMS_CLIENT_ID" -}}{{ end }}</string>
<key>auth_client_secret</key>
<string>{{ if (stat (joinPath .chezmoi.sourceDir ".chezmoitemplates" "secrets" "CLOUDFLARE_TEAMS_CLIENT_SECRET")) }}{{- includeTemplate "secrets/CLOUDFLARE_TEAMS_CLIENT_SECRET" | decrypt -}}{{ else }}{{- env "CLOUDFLARE_TEAMS_CLIENT_SECRET" -}}{{ end }}</string>
</dict>
{{ end -}}