services/nextcloud: remove mail & redis

(both of these have lots of options, which either do nothing at all or
are misconfigured in some way and don't work. If we want redis-caching,
we can re-add it later, but the current state suggest it's already
working, which it isn't, which is worse)
This commit is contained in:
stuebinm 2022-07-09 20:27:46 +02:00
parent e9d2630ea9
commit 8f413da05a

View file

@ -52,8 +52,6 @@
defaultapp = "apporder"; defaultapp = "apporder";
}; };
caching.redis = true;
# multiple pools may be doable using services.phpfpm.pools, # multiple pools may be doable using services.phpfpm.pools,
# but i have not tried this yet. The nextcloud module defines a # but i have not tried this yet. The nextcloud module defines a
# pool "nextcloud" # pool "nextcloud"
@ -68,36 +66,10 @@
extraOptions = { extraOptions = {
instanceid = "ocxlphb7fbju"; instanceid = "ocxlphb7fbju";
redis = {
host = "/run/redis/redis.sock";
port = 0;
dbindex = 0;
password = "secret";
timeout = 1.5;
};
datadirectory = "/persist/data/ncdata"; datadirectory = "/persist/data/ncdata";
mail_smtpmode = "smtp";
mail_smtpsecure = "ssl";
mail_sendmailmode = "smtp";
mail_from_address = "noreply";
mail_domain = "infra4future.de";
mail_smtpauthtype = "PLAIN";
mail_smtpauth = 1;
mail_smtphost = "mail.hacc.space";
mail_smtpport = 465;
mail_smtpname = "noreply@infra4future.de";
loglevel = 0; loglevel = 0;
"overwrite.cli.url" = "https://cloud.infra4future.de"; "overwrite.cli.url" = "https://cloud.infra4future.de";
}; };
# passwordsalt, secret, and mail_smtppassword go in here
secretFile = "/persist/secrets.json";
};
services.redis = {
enable = true;
unixSocket = "/var/run/redis/redis.sock";
}; };
services.postgresql = { services.postgresql = {