1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-30 11:37:44 +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

@ -6,7 +6,6 @@ let
fqdn = "cloud.${domain}";
in serverSystemConfiguration {
age.secrets."cube/password.nextcloud".owner = "nextcloud";
age.secrets."cube/password.mail.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";

View file

@ -19,7 +19,6 @@ in with keys; {
"cube/password.mail.grafana.age".publicKeys = key cube;
"cube/password.nextcloud.age".publicKeys = key cube;
"cube/password.mail.nextcloud.age".publicKeys = key cube;
"enka/password.hash.orhan.age".publicKeys = key rgbcube;
"enka/password.hash.said.age".publicKeys = key rgbcube;