users/foo-dogsquared: update Git config

The sendemail configuration should be handled by the email accounts
configured alongside the home-manager config.
This commit is contained in:
Gabriel Arazas 2023-07-14 13:21:57 +08:00
parent 92a2f81a2b
commit e43b5a7209
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC

View File

@ -6,16 +6,11 @@
enable = true;
package = pkgs.gitFull;
lfs.enable = true;
userName = config.accounts.email.accounts.personal.realName;
userEmail = config.accounts.email.accounts.personal.address;
signing.key = "ADE0C41DAB221FCC";
extraConfig = {
# This is taken from the official Git book, for future references.
sendemail = {
smtpserver = "smtp.mailbox.org";
smtpencryption = "tls";
smtpserverport = 587;
smtpuser = "foodogsquared@mailbox.org";
user = {
name = config.accounts.email.accounts.personal.realName;
email = config.accounts.email.accounts.personal.address;
};
alias = {