diff --git a/modules/services/server/nextcloud.nix b/modules/services/server/nextcloud.nix index 0ff3e44..cce3ccf 100644 --- a/modules/services/server/nextcloud.nix +++ b/modules/services/server/nextcloud.nix @@ -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"];