Config changes required due to update to 24.05
This commit is contained in:
parent
67e6cae530
commit
37558b53e5
2 changed files with 6 additions and 4 deletions
|
|
@ -4,7 +4,7 @@
|
||||||
services = {
|
services = {
|
||||||
nextcloud = {
|
nextcloud = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.nextcloud27;
|
package = pkgs.nextcloud29;
|
||||||
datadir = "/data/nextcloud";
|
datadir = "/data/nextcloud";
|
||||||
hostName = "nextcloud.baduhai.dev";
|
hostName = "nextcloud.baduhai.dev";
|
||||||
configureRedis = true;
|
configureRedis = true;
|
||||||
|
|
@ -17,10 +17,12 @@
|
||||||
apcu = true;
|
apcu = true;
|
||||||
redis = true;
|
redis = true;
|
||||||
};
|
};
|
||||||
|
settings = {
|
||||||
|
trusted_proxies = [ "127.0.0.1" ];
|
||||||
|
default_phone_region = "BR";
|
||||||
|
};
|
||||||
config = {
|
config = {
|
||||||
dbtype = "pgsql";
|
dbtype = "pgsql";
|
||||||
defaultPhoneRegion = "BR";
|
|
||||||
trustedProxies = [ "127.0.0.1" ];
|
|
||||||
adminpassFile = config.age.secrets.nextcloud-adminpass.path;
|
adminpassFile = config.age.secrets.nextcloud-adminpass.path;
|
||||||
};
|
};
|
||||||
phpOptions = { "opcache.interned_strings_buffer" = "16"; };
|
phpOptions = { "opcache.interned_strings_buffer" = "16"; };
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@
|
||||||
passwordFile = config.age.secrets.paperless.path;
|
passwordFile = config.age.secrets.paperless.path;
|
||||||
port = lib.toInt "${config.ports.paperless}";
|
port = lib.toInt "${config.ports.paperless}";
|
||||||
consumptionDirIsPublic = true;
|
consumptionDirIsPublic = true;
|
||||||
extraConfig = { PAPERLESS_OCR_LANGUAGE = "eng+por+deu"; };
|
settings = { PAPERLESS_OCR_LANGUAGE = "eng+por+deu"; };
|
||||||
};
|
};
|
||||||
|
|
||||||
nginx.virtualHosts."paperless.baduhai.dev" = {
|
nginx.virtualHosts."paperless.baduhai.dev" = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue