nextcloud: fixed mariadb 10.11. add nodejs, ffmpeg and libtensorflow in system packages for recognize, the plugin

This commit is contained in:
Giulio De Pasquale 2023-06-11 01:30:34 +02:00
parent 44e991b35f
commit 29cf6fece7

View File

@ -8,6 +8,12 @@ let
inherit (utilities) architectInterfaceAddress;
in
{
environment.systemPackages = with pkgs; [
nodejs-18_x
libtensorflow
ffmpeg
];
services = {
nginx.virtualHosts.${domain} = {
forceSSL = true;
@ -16,7 +22,7 @@ in
mysql = {
enable = true;
package = pkgs.mariadb;
package = pkgs.mariadb_1011;
};
redis = {
@ -42,7 +48,7 @@ in
autoUpdateApps.startAt = "05:00:00";
maxUploadSize = "50G";
config = {
overwriteProtocol = "https";
dbtype = "mysql";
@ -51,7 +57,6 @@ in
dbname = "nextcloud";
dbpassFile = "/secrets/nextcloud/dbpass.txt";
adminpassFile = "/secrets/nextcloud/dbpass.txt";
extraTrustedDomains = [ "${domain}" ];
};
};
};