aboutsummaryrefslogtreecommitdiff
path: root/nixops
diff options
context:
space:
mode:
Diffstat (limited to 'nixops')
-rw-r--r--nixops/modules/websites/tools/cloud/nextcloud.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/nixops/modules/websites/tools/cloud/nextcloud.nix b/nixops/modules/websites/tools/cloud/nextcloud.nix
index 1a49025..1e770b8 100644
--- a/nixops/modules/websites/tools/cloud/nextcloud.nix
+++ b/nixops/modules/websites/tools/cloud/nextcloud.nix
@@ -99,7 +99,8 @@ let
99 config_php = writeText "config.php" '' 99 config_php = writeText "config.php" ''
100 <?php 100 <?php
101 $CONFIG = array ( 101 $CONFIG = array (
102 'instanceid' => '${env.instance_id}', 102 // FIXME: change this value when nextcloud starts getting slow
103 'instanceid' => '${env.instance_id}1',
103 'datadirectory' => '/var/lib/nextcloud/', 104 'datadirectory' => '/var/lib/nextcloud/',
104 'passwordsalt' => '${env.password_salt}', 105 'passwordsalt' => '${env.password_salt}',
105 'debug' => false, 106 'debug' => false,
@@ -123,7 +124,7 @@ let
123 'secret' => '${env.secret}', 124 'secret' => '${env.secret}',
124 'appstoreenabled' => false, 125 'appstoreenabled' => false,
125 'appstore.experimental.enabled' => true, 126 'appstore.experimental.enabled' => true,
126 'loglevel' => 0, 127 'loglevel' => 2,
127 'trashbin_retention_obligation' => 'auto', 128 'trashbin_retention_obligation' => 'auto',
128 'htaccess.RewriteBase' => '/', 129 'htaccess.RewriteBase' => '/',
129 'mail_smtpmode' => 'sendmail', 130 'mail_smtpmode' => 'sendmail',