blob: 5641b6902c772b43708a2c152bfbc38259821014 [file] [log] [blame]
Copybara botca5ce642024-11-08 17:38:08 +01001{{- $envChoices := list "home" "work" }}
2{{- $env := promptChoiceOnce . "env" "Environment" $envChoices -}}
3
4{{- $gitName := promptStringOnce . "git.name" "Git name" -}}
5{{- $gitEmail := promptStringOnce . "git.email" "Git email address" -}}
6{{- $gitSigningKey := promptStringOnce . "git.signingKey" "Git signing key" -}}
7
8{{- $ansibleVaultPasswordFile := promptStringOnce . "ansibleVault.passwordFile" "Ansible Vault password file path (leave empty if not available)" -}}
9
10{{- $switchKeyboardMac := promptStringOnce . "keyboardMac" "MAC address of the keyboard (for switch-keyboard, only used in Linux)" -}}
11
12[data]
13 env = {{ $env | quote }}
14
15[data.git]
16 name = {{ $gitName | quote }}
17 email = {{ $gitEmail | quote }}
18 signingKey = {{ $gitSigningKey | quote }}
19
20[data.ansibleVault]
21 passwordFile = {{ $ansibleVaultPasswordFile | quote }}
22
23[data.switchKeyboard]
24 mac = {{ $switchKeyboardMac | quote }}