libtranslate

This commit is contained in:
ari committed 2026-06-26 15:10:04 -04:00
1 parent c466ea2537
commit 672657c111
2 files changed
+10 -1

No files matched your search

+1 -1
View File
@@ -1 +1 @@
/nix/store/w0az8z0nd9vkl5pzbaqp83b88394y4pr-pre-commit-config.json
/nix/store/vg0s32j9yp65ayzxsc1mwh90y4icgf4y-pre-commit-config.json
+9
View File
@@ -10,6 +10,7 @@ let
fastWhisper = 10300;
wyoming = 10400;
comfyui = 8188;
libretranslate = 5000;
};
openPorts = [
ports.ollama
@@ -18,6 +19,7 @@ let
ports.piper
ports.wyoming
ports.comfyui
ports.libretranslate
];
in
{
@@ -155,6 +157,13 @@ in
OLLAMA_KEEP_ALIVE = "24h";
};
};
# Libretranslate
services.libretranslate = {
enable = true;
host = "0.0.0.0";
port = ports.libretranslate;
};
hardware.enableAllFirmware = true;
hardware.amdgpu = {
opencl.enable = true;