diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a5d3414..03025c5 120000 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1 +1 @@ -/nix/store/w0az8z0nd9vkl5pzbaqp83b88394y4pr-pre-commit-config.json \ No newline at end of file +/nix/store/vg0s32j9yp65ayzxsc1mwh90y4icgf4y-pre-commit-config.json \ No newline at end of file diff --git a/hosts/hl-fwdesk.nix b/hosts/hl-fwdesk.nix index 8516c6c..4778158 100644 --- a/hosts/hl-fwdesk.nix +++ b/hosts/hl-fwdesk.nix @@ -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;