server: services: nextcloud: rework for new structure

This commit is contained in:
Kabbone 2024-06-08 14:48:57 +02:00
parent ca8c0c8a17
commit a5886eb6d0
Signed by: Kabbone
SSH Key Fingerprint: SHA256:A5zPB5I6u5V78V51c362BBdCwhDhfDUVbt7NfKdjWBY

View File

@ -9,15 +9,18 @@
enable = true;
hostName = "cloud.kabtop.de";
https = true;
package = pkgs.nextcloud27;
package = pkgs.nextcloud29;
database.createLocally = false;
logType = "file";
notify_push.enable = true;
caching = {
redis = true;
apcu = false;
};
extraOptions = {
settings = {
log_type = "file";
logfile = "nextcloud.log";
overwriteprotocol = "https";
default_phone_region = "DE";
redis = {
host = "/run/redis-nextcloud/redis.sock";
port = 0;
@ -34,8 +37,6 @@
adminuser = "kabbone";
adminpassFile = config.age.secrets."services/nextcloud/adminpassFile".path;
dbpassFile = config.age.secrets."services/nextcloud/dbpassFile".path;
overwriteProtocol = "https";
defaultPhoneRegion = "DE";
};
phpOptions = {
"opcache.interned_strings_buffer" = "16";