22 lines
427 B
Nix
22 lines
427 B
Nix
{
|
|
programs.msmtp = {
|
|
enable = true;
|
|
setSendmail = true;
|
|
defaults = {
|
|
aliases = builtins.toFile "aliases" ''
|
|
default: ciapa@lewd.wtf
|
|
'';
|
|
};
|
|
accounts.default = {
|
|
auth = "plain";
|
|
host = "mail.your-server.de";
|
|
port = "587";
|
|
from = "phoenix@lewd.wtf";
|
|
user = "phoenix@lewd.wtf";
|
|
passwordeval = "cat /run/secrets/services/msmtp/password";
|
|
};
|
|
|
|
};
|
|
|
|
}
|