mirror of
https://github.com/RGBCube/ncc
synced 2025-07-29 19:17:45 +00:00
Nevemind, Use Sendmail
This commit is contained in:
parent
eb5f6997cc
commit
3819884c74
2 changed files with 4 additions and 15 deletions
|
@ -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";
|
||||
|
|
|
@ -18,8 +18,7 @@ in with keys; {
|
|||
"cube/password.grafana.age".publicKeys = key cube;
|
||||
"cube/password.mail.grafana.age".publicKeys = key cube;
|
||||
|
||||
"cube/password.nextcloud.age".publicKeys = key cube;
|
||||
"cube/password.mail.nextcloud.age".publicKeys = key cube;
|
||||
"cube/password.nextcloud.age".publicKeys = key cube;
|
||||
|
||||
"enka/password.hash.orhan.age".publicKeys = key rgbcube;
|
||||
"enka/password.hash.said.age".publicKeys = key rgbcube;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue