server: nextcloud: disable onlyoffice and set maxUploadSize
This commit is contained in:
parent
e590739346
commit
fc852aee67
@ -11,7 +11,8 @@
|
||||
https = true;
|
||||
package = pkgs.nextcloud30;
|
||||
database.createLocally = false;
|
||||
notify_push.enable = true;
|
||||
notify_push.enable = false;
|
||||
maxUploadSize = "512M";
|
||||
caching = {
|
||||
redis = true;
|
||||
apcu = false;
|
||||
@ -46,15 +47,15 @@
|
||||
#autoUpdateApps.enable = true;
|
||||
};
|
||||
|
||||
services.onlyoffice = {
|
||||
enable = true;
|
||||
hostname = "docs.cloud.kabtop.de";
|
||||
postgresName = "onlyoffice";
|
||||
postgresHost = "localhost";
|
||||
postgresUser = "onlyoffice";
|
||||
postgresPasswordFile = config.age.secrets."services/nextcloud/onlyofficedb".path;
|
||||
jwtSecretFile = config.age.secrets."services/nextcloud/onlyofficejwt".path;
|
||||
};
|
||||
# services.onlyoffice = {
|
||||
# enable = true;
|
||||
# hostname = "docs.cloud.kabtop.de";
|
||||
# postgresName = "onlyoffice";
|
||||
# postgresHost = "localhost";
|
||||
# postgresUser = "onlyoffice";
|
||||
# postgresPasswordFile = config.age.secrets."services/nextcloud/onlyofficedb".path;
|
||||
# jwtSecretFile = config.age.secrets."services/nextcloud/onlyofficejwt".path;
|
||||
# };
|
||||
|
||||
services.redis = {
|
||||
vmOverCommit = true;
|
||||
@ -72,11 +73,11 @@
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
};
|
||||
"${config.services.onlyoffice.hostname}" = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
};
|
||||
};
|
||||
# "${config.services.onlyoffice.hostname}" = {
|
||||
# enableACME = true;
|
||||
# forceSSL = true;
|
||||
# };
|
||||
# };
|
||||
};
|
||||
|
||||
age.secrets."services/nextcloud/dbpassFile" = {
|
||||
@ -87,14 +88,14 @@
|
||||
file = ../../../secrets/services/nextcloud/adminpassFile.age;
|
||||
owner = "nextcloud";
|
||||
};
|
||||
age.secrets."services/nextcloud/onlyofficedb" = {
|
||||
file = ../../../secrets/services/nextcloud/onlyofficedb.age;
|
||||
owner = "onlyoffice";
|
||||
};
|
||||
age.secrets."services/nextcloud/onlyofficejwt" = {
|
||||
file = ../../../secrets/services/nextcloud/onlyofficejwt.age;
|
||||
owner = "onlyoffice";
|
||||
};
|
||||
# age.secrets."services/nextcloud/onlyofficedb" = {
|
||||
# file = ../../../secrets/services/nextcloud/onlyofficedb.age;
|
||||
# owner = "onlyoffice";
|
||||
# };
|
||||
# age.secrets."services/nextcloud/onlyofficejwt" = {
|
||||
# file = ../../../secrets/services/nextcloud/onlyofficejwt.age;
|
||||
# owner = "onlyoffice";
|
||||
# };
|
||||
|
||||
systemd.services."nextcloud-setup" = {
|
||||
requires = ["postgresql.service"];
|
||||
|
Loading…
Reference in New Issue
Block a user