git: use ssh signatures
This commit is contained in:
parent
1448a861dc
commit
0b9b2d7399
@ -1,6 +1,10 @@
|
||||
{{- $systemprofilechoices := list "DEFAULT" "SLIM" "MINIMAL" -}}
|
||||
{{- $systemprofile := promptChoiceOnce . "systemprofile" "Select a system profile (use capital letter)" $systemprofilechoices "MINIMAL" -}}
|
||||
{{- $email := promptStringOnce . "email" "Email address for Git" -}}
|
||||
{{- $fullname := promptStringOnce . "email" "Full name for Git" -}}
|
||||
|
||||
[data]
|
||||
systemprofile = {{ $systemprofile | quote }}
|
||||
email = {{ $email | quote }}
|
||||
fullname = {{ $fullname | quote }}
|
||||
opacity = "0.7"
|
||||
|
@ -1,9 +0,0 @@
|
||||
[user]
|
||||
email = dogeystamp@disroot.org
|
||||
name = dogeystamp
|
||||
[gpg]
|
||||
program = passphrase2pgp
|
||||
[merge]
|
||||
tool = nvimmerge
|
||||
[mergetool "nvimmerge"]
|
||||
cmd = "nvim -d -c \"wincmd l\" -c \"norm ]c\" \"$LOCAL\" \"$MERGED\" \"$REMOTE\""
|
12
src/dot_config/git/config.tmpl
Normal file
12
src/dot_config/git/config.tmpl
Normal file
@ -0,0 +1,12 @@
|
||||
[user]
|
||||
email = {{ .email }}
|
||||
name = {{ .fullname }}
|
||||
signingkey = "~/.ssh/keys/sign.pub"
|
||||
[gpg]
|
||||
format = ssh
|
||||
[gpg.ssh]
|
||||
allowedSignersFile = "~/.ssh/allowed_signers"
|
||||
[merge]
|
||||
tool = nvimmerge
|
||||
[mergetool "nvimmerge"]
|
||||
cmd = "nvim -d -c \"wincmd l\" -c \"norm ]c\" \"$LOCAL\" \"$MERGED\" \"$REMOTE\""
|
Loading…
Reference in New Issue
Block a user