mirror of
https://github.com/nix-community/home-manager.git
synced 2025-03-09 10:16:55 +00:00
The Git module now supports SSH and X.509 signing in addition to OpenPGP/GnuPG, via setting the `programs.git.signing.format` option. It defaults to `openpgp` for now as a backwards compatibility measure, but I feel like we shouldn't enforce GPG as the default on everyone, especially for people who use SSH signing like me. Accordingly, `programs.git.signing.gpgPath` has been renamed to `programs.git.signing.signer`, as now the signer binary is not restricted to GnuPG. Users should only get a warning and everything should continue to work. Fixes #4221, supersedes #4235 Co-authored-by: Mario Rodas <marsam@users.noreply.github.com> Co-authored-by: Sumner Evans <me@sumnerevans.com> Co-authored-by: Leah Amelia Chen <hi@pluie.me>
29 lines
585 B
Text
29 lines
585 B
Text
[commit]
|
|
gpgSign = false
|
|
|
|
[gpg]
|
|
format = "openpgp"
|
|
|
|
[gpg "openpgp"]
|
|
program = "path-to-gpg"
|
|
|
|
[sendemail "hm-account"]
|
|
from = "H. M. Test Jr. <hm@example.org>"
|
|
smtpEncryption = "tls"
|
|
smtpServer = "smtp.example.org"
|
|
smtpSslCertPath = "/etc/test/certificates.crt"
|
|
smtpUser = "home.manager.jr"
|
|
|
|
[sendemail "hm@example.com"]
|
|
from = "H. M. Test <hm@example.com>"
|
|
smtpEncryption = "ssl"
|
|
smtpServer = "smtp.example.com"
|
|
smtpSslCertPath = "/etc/ssl/certs/ca-certificates.crt"
|
|
smtpUser = "home.manager"
|
|
|
|
[tag]
|
|
gpgSign = false
|
|
|
|
[user]
|
|
email = "hm@example.com"
|
|
name = "H. M. Test"
|