config.tmpl

 1[init]
 2	defaultBranch = main
 3[alias]
 4	force-push = push --force-with-lease
 5[user]
 6	name = Amolith
 7	email = amolith@secluded.site
 8	{{- if eq .chezmoi.hostname "angmar" }}
 9	signingkey = ~/.ssh/yk-stationary.pub
10	{{- else }}
11	signingkey = ~/.ssh/yk-mobile.pub
12	{{- end }}
13[commit]
14	gpgsign = true
15	verbose = true
16[tag]
17	gpgsign = true
18	sort = version:refname
19[gpg]
20	format = ssh
21[gpg "ssh"]
22	allowedSignersFile = /home/amolith/.ssh/allowed_signers
23[sendemail]
24	smtpserver = smtp.nixnet.email
25	smtpuser = amolith@secluded.site
26	smtpencryption = tls
27	smtpserverport = 587
28	annotate = yes
29[credential "smtp://smtp.nixnet.email:587"]
30	helper = !op read "op://Private/git-send-email-amo_sec/password"
31[core]
32	pager = delta
33	fsmonitor = true
34	untrackedCache = true
35[delta]
36	line-numbers = true
37	{{- if eq .theme_variant "dark" }}
38	syntax-theme = base16
39	{{- end }}
40	{{- if eq .theme_variant "light" }}
41	syntax-theme = OneHalfLight
42	{{- end }}
43[interactive]
44	diffFilter = delta --color-only
45[pull]
46	rebase = true
47[push]
48	followTags = true
49	autoSetupRemote = true
50	default = current
51[branch]
52	autoSetupMerge = always
53	sort = -committerdate
54[filter "lfs"]
55	clean = git-lfs clean -- %f
56	smudge = git-lfs smudge -- %f
57	process = git-lfs filter-process
58	required = true
59[rerere]
60	enabled = true
61	autoupdate = true
62[help]
63	autocorrect = prompt
64[column]
65	ui = auto
66[diff]
67	algorithm = histogram
68	renames = true
69[rebase]
70	updateRefs = true
71	autoStash = true
72[merge]
73	conflictstyle = zdiff3