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

17 lines
842 B
Cheetah
Raw Normal View History

2024-05-09 16:56:02 -07:00
{{ if eq .host.distro.family "darwin" -}}
<dict>
<key>enable</key>
<true />
<key>onboarding</key>
<false />
<key>organization</key>
2023-07-07 01:45:25 -07:00
<string>{{ .host.cloudflare.teamsOrg }}</string>
<key>service_mode</key>
<string>warp</string>
<key>auth_client_id</key>
2023-06-18 20:32:33 -07:00
<string>{{ if (stat (joinPath .chezmoi.sourceDir ".chezmoitemplates" "secrets" "CLOUDFLARE_TEAMS_CLIENT_ID")) }}{{- includeTemplate "secrets/CLOUDFLARE_TEAMS_CLIENT_ID" | decrypt | trim -}}{{ else }}{{- env "CLOUDFLARE_TEAMS_CLIENT_ID" -}}{{ end }}</string>
<key>auth_client_secret</key>
2023-06-18 20:32:33 -07:00
<string>{{ if (stat (joinPath .chezmoi.sourceDir ".chezmoitemplates" "secrets" "CLOUDFLARE_TEAMS_CLIENT_SECRET")) }}{{- includeTemplate "secrets/CLOUDFLARE_TEAMS_CLIENT_SECRET" | decrypt | trim -}}{{ else }}{{- env "CLOUDFLARE_TEAMS_CLIENT_SECRET" -}}{{ end }}</string>
</dict>
{{ end -}}