|
1 | | -{{ $email := promptStringOnce . "email" "Email Address (Git, GPG, etc.)" -}} |
2 | | -{{ $gitName := promptStringOnce . "gitName" "Name to use for git actions" -}} |
3 | | -{{ $gitBranchPrefix := promptStringOnce . "gitBranchPrefix" "Prefix to apply to new git branches by default" -}} |
4 | | -{{ $gitHooksPath := promptStringOnce . "gitHooksPath" "Custom core Git hooks path" -}} |
5 | | -{{ $gui := promptBoolOnce . "gui" "Enable GUI options" -}} |
| 1 | +{{ $machineTypes := list "work" "personal" "other" -}} |
| 2 | +{{ $machineType := promptChoiceOnce . "machineType" "What type of machine is this" $machineTypes "other" -}} |
| 3 | +{{ $email := promptStringOnce . "email" "Email Address (Git, GPG, etc.)" "[email protected]" -}} |
| 4 | +{{ $gitName := promptStringOnce . "gitName" "Name to use for git actions" "linuxdaemon" -}} |
| 5 | +{{ $gitBranchPrefix := promptStringOnce . "gitBranchPrefix" "Prefix to apply to new git branches by default" "" -}} |
| 6 | +{{ $gitHooksPath := promptStringOnce . "gitHooksPath" "Custom core Git hooks path" "" -}} |
| 7 | +{{ $gui := promptBoolOnce . "gui" "Enable GUI options" false -}} |
6 | 8 | {{ $defaultPkgType := "brew" -}} |
7 | 9 | {{ if eq .chezmoi.os "linux" -}} |
8 | 10 | {{ $defaultPkgType = "apt" -}} |
|
30 | 32 | gui = {{ $gui | toToml }} |
31 | 33 | defaultPkgType = {{ $defaultPkgType | toToml }} |
32 | 34 | useLinuxBrew = {{ $useLinuxBrew | toToml }} |
33 | | - tags = {{ get $ "tags" | default list | toToml }} |
34 | 35 | brewPrefix = {{ $brewPrefix | toToml }} |
35 | 36 | gitBranchPrefix = {{ $gitBranchPrefix | toToml }} |
| 37 | + machineType = {{ $machineType | toToml }} |
0 commit comments