From 8f413da05a8cfa9e2a4fbc0f534660deea4b8c6a Mon Sep 17 00:00:00 2001 From: stuebinm Date: Sat, 9 Jul 2022 20:27:46 +0200 Subject: [PATCH] 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) --- services/nextcloud/default.nix | 28 ---------------------------- 1 file changed, 28 deletions(-) diff --git a/services/nextcloud/default.nix b/services/nextcloud/default.nix index f465666..fc4cc14 100644 --- a/services/nextcloud/default.nix +++ b/services/nextcloud/default.nix @@ -52,8 +52,6 @@ defaultapp = "apporder"; }; - caching.redis = true; - # multiple pools may be doable using services.phpfpm.pools, # but i have not tried this yet. The nextcloud module defines a # pool "nextcloud" @@ -68,36 +66,10 @@ extraOptions = { instanceid = "ocxlphb7fbju"; - redis = { - host = "/run/redis/redis.sock"; - port = 0; - dbindex = 0; - password = "secret"; - timeout = 1.5; - }; 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; "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 = {