add [age] settings to toml

This commit is contained in:
inkch 2024-01-18 11:58:21 +09:00
parent 8e1c359245
commit 00c0f93591

View File

@ -8,6 +8,10 @@
command = "nvim" command = "nvim"
args = ["-d", "{{ `{{ .Destination }}` }}", "{{ `{{ .Source }}` }}", "{{ `{{ .Target }}` }}"] args = ["-d", "{{ `{{ .Destination }}` }}", "{{ `{{ .Source }}` }}", "{{ `{{ .Target }}` }}"]
[age]
identity = "~/.config/chezmoi/key.txt"
recipient = "age1j75kdg9enpwlvnmxv3qak90gn5swlez63f580wzj6ucw37xemy3s0knqa6" # can be array
{{- $choices := list "desktop" "laptop" "server" }} {{- $choices := list "desktop" "laptop" "server" }}
{{ $hosttype := promptChoiceOnce . "hosttype" "What type of host" $choices }} {{ $hosttype := promptChoiceOnce . "hosttype" "What type of host" $choices }}
[data] [data]