mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 15:00:13 +01:00
20 lines
390 B
Nix
20 lines
390 B
Nix
|
|
{
|
||
|
|
pkgs,
|
||
|
|
config,
|
||
|
|
...
|
||
|
|
}:
|
||
|
|
{
|
||
|
|
programs.msmtp = {
|
||
|
|
enable = true;
|
||
|
|
accounts.default = {
|
||
|
|
auth = true;
|
||
|
|
tls = true;
|
||
|
|
port = 465;
|
||
|
|
host = "smtp.migadu.com";
|
||
|
|
from = config.liv.variables.senderEmail;
|
||
|
|
user = config.liv.variables.senderEmail;
|
||
|
|
passwordeval = "${pkgs.coreutils}/bin/cat ${config.sops.secrets.systemMailerPassword.path}";
|
||
|
|
};
|
||
|
|
};
|
||
|
|
}
|