From a03de996827e10d7fc4c2836b43c7e497751c0c5 Mon Sep 17 00:00:00 2001 From: Giulio De Pasquale Date: Fri, 14 Mar 2025 10:51:51 +0000 Subject: [PATCH] fix(llm): add ws for openwebui and unstable --- hosts/architect/llm.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/hosts/architect/llm.nix b/hosts/architect/llm.nix index a1a8971..0bbae6a 100644 --- a/hosts/architect/llm.nix +++ b/hosts/architect/llm.nix @@ -4,6 +4,7 @@ let backendDomain = "ollama.giugl.io"; frontendDomain = "llm.giugl.io"; ollamaPkg = pkgs.unstablePkgs.ollama-cuda; + uiPkg = pkgs.unstablePkgs.open-webui; in { environment = { @@ -23,7 +24,10 @@ in }; }; - open-webui.enable = true; + open-webui = { + enable = true; + package = uiPkg; + }; }; architect.vhost.${backendDomain} = { @@ -51,6 +55,7 @@ in port = config.services.open-webui.port; allowLan = true; allowWAN = true; + proxyWebsockets = true; }; }; }