nextcloud: fixed mariadb 10.11. add nodejs, ffmpeg and libtensorflow in system packages for recognize, the plugin
This commit is contained in:
parent
44e991b35f
commit
29cf6fece7
@ -8,6 +8,12 @@ let
|
|||||||
inherit (utilities) architectInterfaceAddress;
|
inherit (utilities) architectInterfaceAddress;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
nodejs-18_x
|
||||||
|
libtensorflow
|
||||||
|
ffmpeg
|
||||||
|
];
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
nginx.virtualHosts.${domain} = {
|
nginx.virtualHosts.${domain} = {
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
@ -16,7 +22,7 @@ in
|
|||||||
|
|
||||||
mysql = {
|
mysql = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.mariadb;
|
package = pkgs.mariadb_1011;
|
||||||
};
|
};
|
||||||
|
|
||||||
redis = {
|
redis = {
|
||||||
@ -51,7 +57,6 @@ in
|
|||||||
dbname = "nextcloud";
|
dbname = "nextcloud";
|
||||||
dbpassFile = "/secrets/nextcloud/dbpass.txt";
|
dbpassFile = "/secrets/nextcloud/dbpass.txt";
|
||||||
adminpassFile = "/secrets/nextcloud/dbpass.txt";
|
adminpassFile = "/secrets/nextcloud/dbpass.txt";
|
||||||
extraTrustedDomains = [ "${domain}" ];
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user