Config changes required due to update to 24.05

This commit is contained in:
William 2024-06-08 15:01:42 -03:00
parent 67e6cae530
commit 37558b53e5
2 changed files with 6 additions and 4 deletions

View file

@ -4,7 +4,7 @@
services = {
nextcloud = {
enable = true;
package = pkgs.nextcloud27;
package = pkgs.nextcloud29;
datadir = "/data/nextcloud";
hostName = "nextcloud.baduhai.dev";
configureRedis = true;
@ -17,10 +17,12 @@
apcu = true;
redis = true;
};
settings = {
trusted_proxies = [ "127.0.0.1" ];
default_phone_region = "BR";
};
config = {
dbtype = "pgsql";
defaultPhoneRegion = "BR";
trustedProxies = [ "127.0.0.1" ];
adminpassFile = config.age.secrets.nextcloud-adminpass.path;
};
phpOptions = { "opcache.interned_strings_buffer" = "16"; };

View file

@ -9,7 +9,7 @@
passwordFile = config.age.secrets.paperless.path;
port = lib.toInt "${config.ports.paperless}";
consumptionDirIsPublic = true;
extraConfig = { PAPERLESS_OCR_LANGUAGE = "eng+por+deu"; };
settings = { PAPERLESS_OCR_LANGUAGE = "eng+por+deu"; };
};
nginx.virtualHosts."paperless.baduhai.dev" = {