move msmtp config to nix
This commit is contained in:
parent
2644fd3234
commit
ddfa13bd4d
1 changed files with 36 additions and 0 deletions
|
@ -27,7 +27,43 @@ in
|
||||||
programs.msmtp = {
|
programs.msmtp = {
|
||||||
enable = true;
|
enable = true;
|
||||||
setSendmail = true;
|
setSendmail = true;
|
||||||
|
extraConfig = ''
|
||||||
|
account mail@oxapentane.com
|
||||||
|
host smtp.migadu.com
|
||||||
|
port 587
|
||||||
|
from *@oxapentane.com
|
||||||
|
user mail@oxapentane.com
|
||||||
|
passwordeval cat ${config.sops.secrets."mail/oxapentane.com".path}
|
||||||
|
auth on
|
||||||
|
tls on
|
||||||
|
tls_trust_file /etc/ssl/certs/ca-certificates.crt
|
||||||
|
logfile ~/.msmtp.log
|
||||||
|
|
||||||
|
account grigory@shipunov.xyz
|
||||||
|
host smtp.migadu.com
|
||||||
|
port 587
|
||||||
|
from *@shipunov.xyz
|
||||||
|
user grigory@shipunov.xyz
|
||||||
|
passwordeval cat ${config.sops.secrets."mail/shipunov.xyz".path}
|
||||||
|
auth on
|
||||||
|
tls on
|
||||||
|
tls_trust_file /etc/ssl/certs/ca-certificates.crt
|
||||||
|
logfile ~/.msmtp.log
|
||||||
|
|
||||||
|
account dump@dvb.solutions
|
||||||
|
host smtp.migadu.com
|
||||||
|
port 587
|
||||||
|
from dump@dvb.solutions
|
||||||
|
user dump@dvb.solutions
|
||||||
|
passwordeval cat ${config.sops.secrets."mail/dvb.solutions".path}
|
||||||
|
auth on
|
||||||
|
tls on
|
||||||
|
tls_trust_file /etc/ssl/certs/ca-certificates.crt
|
||||||
|
logfile ~/.msmtp.log
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
systemd.user = {
|
systemd.user = {
|
||||||
|
|
||||||
services.mbsync = {
|
services.mbsync = {
|
||||||
|
|
Loading…
Add table
Reference in a new issue