1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-29 19:17:45 +00:00

Nevemind, Use Sendmail

This commit is contained in:
RGBCube 2024-01-17 13:35:38 +03:00
parent eb5f6997cc
commit 3819884c74
No known key found for this signature in database
2 changed files with 4 additions and 15 deletions

View file

@ -5,8 +5,7 @@ let
fqdn = "cloud.${domain}";
in serverSystemConfiguration {
age.secrets."cube/password.nextcloud".owner = "nextcloud";
age.secrets."cube/password.mail.nextcloud".owner = "nextcloud";
age.secrets."cube/password.nextcloud".owner = "nextcloud";
services.postgresql = {
ensureDatabases = [ "nextcloud" ];
@ -48,20 +47,11 @@ in serverSystemConfiguration {
extraOptions = {
default_phone_region = "TR";
mail_smtphost = config.mailserver.fqdn;
mail_domain = domain;
mail_smtpauth = true;
mail_smtpport = "465";
mail_smtpsecure = "ssl";
mail_smtphost = "::";
mail_smtpmode = "sendmail";
mail_from_address = "cloud";
mail_smtpname = "contact@${domain}";
};
# { "mail_smtppassword": "..." }
secretFile = config.age.secrets."cube/password.mail.nextcloud".path;
phpOptions = {
"opcache.interned_strings_buffer" = "16";
output_buffering = "off";