mirror of
https://github.com/RGBCube/ncc
synced 2025-07-30 11:37:44 +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}";
|
fqdn = "cloud.${domain}";
|
||||||
in serverSystemConfiguration {
|
in serverSystemConfiguration {
|
||||||
age.secrets."cube/password.nextcloud".owner = "nextcloud";
|
age.secrets."cube/password.nextcloud".owner = "nextcloud";
|
||||||
age.secrets."cube/password.mail.nextcloud".owner = "nextcloud";
|
|
||||||
|
|
||||||
services.postgresql = {
|
services.postgresql = {
|
||||||
ensureDatabases = [ "nextcloud" ];
|
ensureDatabases = [ "nextcloud" ];
|
||||||
|
@ -48,20 +47,11 @@ in serverSystemConfiguration {
|
||||||
extraOptions = {
|
extraOptions = {
|
||||||
default_phone_region = "TR";
|
default_phone_region = "TR";
|
||||||
|
|
||||||
mail_smtphost = config.mailserver.fqdn;
|
mail_smtphost = "::";
|
||||||
mail_domain = domain;
|
mail_smtpmode = "sendmail";
|
||||||
|
|
||||||
mail_smtpauth = true;
|
|
||||||
mail_smtpport = "465";
|
|
||||||
mail_smtpsecure = "ssl";
|
|
||||||
|
|
||||||
mail_from_address = "cloud";
|
mail_from_address = "cloud";
|
||||||
mail_smtpname = "contact@${domain}";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
# { "mail_smtppassword": "..." }
|
|
||||||
secretFile = config.age.secrets."cube/password.mail.nextcloud".path;
|
|
||||||
|
|
||||||
phpOptions = {
|
phpOptions = {
|
||||||
"opcache.interned_strings_buffer" = "16";
|
"opcache.interned_strings_buffer" = "16";
|
||||||
output_buffering = "off";
|
output_buffering = "off";
|
||||||
|
|
|
@ -18,8 +18,7 @@ in with keys; {
|
||||||
"cube/password.grafana.age".publicKeys = key cube;
|
"cube/password.grafana.age".publicKeys = key cube;
|
||||||
"cube/password.mail.grafana.age".publicKeys = key cube;
|
"cube/password.mail.grafana.age".publicKeys = key cube;
|
||||||
|
|
||||||
"cube/password.nextcloud.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.orhan.age".publicKeys = key rgbcube;
|
||||||
"enka/password.hash.said.age".publicKeys = key rgbcube;
|
"enka/password.hash.said.age".publicKeys = key rgbcube;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue