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[sendemail]
16	smtpserver = smtp.nixnet.email
17	smtpuser = amolith@secluded.site
18	smtpencryption = tls
19	smtpserverport = 587
20	annotate = yes
21[credential]
22	helper = bitwarden
23[core]
24	pager = delta
25[delta]
26	line-numbers = true
27	{{- if eq .theme_variant "dark" }}
28	syntax-theme = base16
29	{{- end }}
30	{{- if eq .theme_variant "light" }}
31	syntax-theme = OneHalfLight
32	{{- end }}
33[interactive]
34	diffFilter = delta --color-only
35[pull]
36	rebase = true
37[push]
38	followTags = true
39	autoSetupRemote = true
40	default = current
41[branch]
42	autoSetupMerge = always
43[format]
44	signOff = yes
45[filter "lfs"]
46	clean = git-lfs clean -- %f
47	smudge = git-lfs smudge -- %f
48	process = git-lfs filter-process
49	required = true
50[url "git@git.sr.ht:"]
51	insteadOf = https://git.sr.ht/