fix: get email for notifications working

This commit is contained in:
Ahwx 2025-11-03 23:57:34 +01:00
parent 68cff3eed6
commit fc6ad6c627

View file

@ -1,14 +1,21 @@
{
pkgs,
config,
username,
...
}:
{
environment.systemPackages = [ pkgs.mailutils ];
programs.msmtp = {
enable = true;
accounts.default = {
auth = true;
tls = true;
defaults = {
auth = "on";
tls = "on";
logfile = "/var/log/msmtpd.log";
};
accounts.${username} = {
tls_starttls = "off";
port = 465;
host = "smtp.migadu.com";
from = config.liv.variables.senderEmail;