dot_config/private_jj/config.toml 🔗
@@ -1,6 +0,0 @@
-[user]
-name = "Amolith"
-email = "amolith@secluded.site"
-
-[ui]
-diff-editor = "meld"
Amolith created
dot_config/private_jj/config.toml | 6 ------
dot_config/private_jj/config.toml.tmpl | 28 ++++++++++++++++++++++++++++
2 files changed, 28 insertions(+), 6 deletions(-)
@@ -1,6 +0,0 @@
-[user]
-name = "Amolith"
-email = "amolith@secluded.site"
-
-[ui]
-diff-editor = "meld"
@@ -0,0 +1,28 @@
+[user]
+name = "Amolith"
+email = "amolith@secluded.site"
+
+[ui]
+diff-editor = "meld"
+pager = "delta"
+editor = "vim"
+show-cryptographic-signatures = true
+
+[signing]
+backend = "ssh"
+{{- if ne .chezmoi.username "exedev" }}
+behavior = "own"
+{{- end }}
+
+[signing.backends.ssh]
+{{- if eq .chezmoi.hostname "angmar" }}
+key = "~/.ssh/yk-stationary.pub"
+{{- else }}
+key = "~/.ssh/yk-mobile.pub"
+{{- end }}
+allowed-signers = "/home/amolith/.ssh/allowed_signers"
+
+[git]
+{{- if ne .chezmoi.username "exedev" }}
+sign-on-push = true
+{{- end }}