config.tmpl

 1[init]
 2	defaultBranch = main
 3[user]
 4	{{- if eq .chezmoi.hostname "angmar" }}
 5	signingkey = ~/.ssh/yk-stationary.pub
 6	{{- else }}
 7	signingkey = ~/.ssh/yk-mobile.pub
 8	{{- end }}
 9	name = Amolith
10	email = amolith@secluded.site
11[commit]
12	gpgsign = true
13[gpg]
14    format = ssh
15[gpg "ssh"]
16    allowedSignersFile = /home/amolith/.ssh/allowed_signers
17[sendemail]
18	smtpserver = smtp.nixnet.email
19	smtpuser = amolith@secluded.site
20	smtpencryption = tls
21	smtpserverport = 587
22	annotate = yes
23[credential]
24	helper = bitwarden
25[core]
26	pager = delta
27[delta]
28	line-numbers = true
29	{{- if eq .theme_variant "dark" }}
30	syntax-theme = base16
31	{{- end }}
32	{{- if eq .theme_variant "light" }}
33	syntax-theme = OneHalfLight
34	{{- end }}
35[interactive]
36	diffFilter = delta --color-only
37[pull]
38	rebase = true
39[push]
40	followTags = true
41	autoSetupRemote = true
42	default = current
43[branch]
44	autoSetupMerge = always
45[format]
46	signOff = yes
47[filter "lfs"]
48	clean = git-lfs clean -- %f
49	smudge = git-lfs smudge -- %f
50	process = git-lfs filter-process
51	required = true
52[url "git@git.sr.ht:"]
53	insteadOf = https://git.sr.ht/