19 lines
503 B
Nix
19 lines
503 B
Nix
{lib, pkgs, ...}: {
|
|
imports = [../../modules/systemd-email-notify.nix];
|
|
programs.msmtp = {
|
|
enable = true;
|
|
setSendmail = false;
|
|
accounts = {
|
|
default = {
|
|
auth = true;
|
|
tls = true;
|
|
host = "mail.chir.rs";
|
|
from = "notification@chir.rs";
|
|
user = "lotte@chir.rs";
|
|
passwordeval = "cat /run/secrets/email/lotte@chir.rs";
|
|
};
|
|
};
|
|
};
|
|
systemd.email-notify.mailFrom = "notif@chir.rs";
|
|
systemd.email-notify.mailTo = "lotte@chir.rs";
|
|
}
|