-
Notifications
You must be signed in to change notification settings - Fork 0
/
.chezmoi.yaml.tmpl
31 lines (29 loc) · 985 Bytes
/
.chezmoi.yaml.tmpl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# -*-mode:conf-toml-*- vim:ft=yaml
# ~/.local/share/chezmoi/.chezmoi.yaml.tmpl
# =============================================================================
# Used to customize configuration when doing a `chezmoi init`.
#
# This template file will trigger prompts to fill-in machine-specific
# templateable values. The resulting file is then created at
# `~/.config/chezmoi/chezmoi.toml`
# See https://www.chezmoi.io/docs/how-to/
{{ $email := promptStringOnce . "email" "Email address" }}
{{ $pgp := promptBoolOnce . "pgp" "Does it use PGP" }}
# TODO deve ter uma opcao de nao ter pgp nem ssh para assinatura de commit
data:
email: {{ $email | quote }}
username: "Rodolfo Labiapari Mansur, MSc. @rodolfolabiapari"
usePgp: {{ $pgp | quote }}
signkey: 3A0990FAE12D319E
format: yaml
gpg:
symmetric: true
merge:
command: nvim
args:
- -d
- "{{ "{{ .Destination }}" }}"
- "{{ "{{ .Source }}" }}"
- "{{ "{{ .Target }}" }}"
git:
autoAdd: true