};
config = lib.mkIf cfg.enable {
- # FIXME: find a way to backup the data
services.websites.env.tools.modules = [ "proxy_fcgi" ];
services.websites.env.tools.vhostConfs.cloud = {
include('${nextcloud}/version.php');
$CONFIG = array (
// FIXME: change this value when nextcloud starts getting slow
- 'instanceid' => '${env.instance_id}1',
+ 'instanceid' => '${env.instance_id}',
'datadirectory' => '/var/lib/nextcloud/',
'passwordsalt' => '${env.password_salt}',
'debug' => false,