Copybara bot | ca5ce64 | 2024-11-08 17:38:08 +0100 | [diff] [blame] | 1 | {{- $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 | |
Adrià Vilanova Martínez | 3c04e1b | 2024-11-23 15:51:44 +0100 | [diff] [blame] | 10 | {{- $swayLockBg := promptStringOnce . "swayLock.bg" "Background image for swaylock" -}} |
| 11 | |
| 12 | {{- $switchKeyboardMac := promptStringOnce . "switchKeyboard.mac" "MAC address of the keyboard (for switch-keyboard, only used in Linux)" -}} |
Copybara bot | ca5ce64 | 2024-11-08 17:38:08 +0100 | [diff] [blame] | 13 | |
| 14 | [data] |
| 15 | env = {{ $env | quote }} |
| 16 | |
| 17 | [data.git] |
| 18 | name = {{ $gitName | quote }} |
| 19 | email = {{ $gitEmail | quote }} |
| 20 | signingKey = {{ $gitSigningKey | quote }} |
| 21 | |
| 22 | [data.ansibleVault] |
| 23 | passwordFile = {{ $ansibleVaultPasswordFile | quote }} |
| 24 | |
Adrià Vilanova Martínez | 3c04e1b | 2024-11-23 15:51:44 +0100 | [diff] [blame] | 25 | [data.swayLock] |
| 26 | bg = {{ $swayLockBg | quote }} |
| 27 | |
Copybara bot | ca5ce64 | 2024-11-08 17:38:08 +0100 | [diff] [blame] | 28 | [data.switchKeyboard] |
| 29 | mac = {{ $switchKeyboardMac | quote }} |