My dotfiles

Add `jj` config

bladee.bsky.social fc95e05a e1cc67d8

verified
+24
+1
dot_config/git/allowed_signers.tmpl
··· 1 + {{ .git.email }} {{ onepasswordRead (printf "%s/public key" .git.sshSigningKeyOpId) }}
+23
dot_config/private_jj/config.toml.tmpl
··· 1 + [user] 2 + name = {{ .git.name | quote }} 3 + email = {{ .git.email | quote }} 4 + 5 + [ui] 6 + default-command = "log" 7 + editor = {{ .editor | quote }} 8 + 9 + [git] 10 + subprocess = true 11 + 12 + [templates] 13 + log = "builtin_log_oneline" 14 + 15 + [template-aliases] 16 + "format_timestamp(timestamp)" = "timestamp.ago()" 17 + 18 + [signing] 19 + behavior = "own" 20 + backend = "ssh" 21 + key = {{ onepasswordRead (printf "%s/public key" .git.sshSigningKeyOpId) | quote }} 22 + backends.ssh.program = {{ joinPath .opDir "op-ssh-sign" | quote }} 23 + backends.ssh.allowed-signers = {{ joinPath .chezmoi.homeDir ".config/git/allowed_signers" | quote }}