From 0a3af8906d4d3c3791f87011f11ae7fc05188102 Mon Sep 17 00:00:00 2001 From: stuebinm Date: Thu, 25 Mar 2021 21:04:11 +0100 Subject: [PATCH] nextcloud: add config options from previous instance this includes mail, the instanceid, and the data directory. ldap is excluded for now so we can first test how well this works at all. --- hosts/hainich/services/nextcloud.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/hosts/hainich/services/nextcloud.nix b/hosts/hainich/services/nextcloud.nix index c9c23c8..efb0e6e 100644 --- a/hosts/hainich/services/nextcloud.nix +++ b/hosts/hainich/services/nextcloud.nix @@ -63,6 +63,7 @@ }; extraOptions = { + instanceid = "ocxlphb7fbju"; redis = { host = "/run/redis/redis.sock"; port = 0; @@ -70,8 +71,21 @@ password = "secret"; timeout = 1.5; }; + datadirectory = "/mnt/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; }; + # passwordsalt, secret, and mail_smtppassword go in here secretFile = "/secret/secrets.json"; };