mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 14:01:34 +01:00
19 lines
423 B
Nix
19 lines
423 B
Nix
{
|
|
services.nextcloud.settings = {
|
|
mail_smtpmode = "sendmail";
|
|
mail_sendmailmode = "pipe";
|
|
};
|
|
|
|
programs.msmtp = {
|
|
enable = true;
|
|
accounts.default = {
|
|
auth = true;
|
|
tls = true;
|
|
host = "smtp.gmail.com";
|
|
port = "587";
|
|
user = "nextcloud.stork";
|
|
from = "nextcloud.stork@gmail.com";
|
|
passwordeval = "cat /run/secrets/container/nextcloud/gmail-password";
|
|
};
|
|
};
|
|
}
|