tika and ws

This commit is contained in:
Giulio De Pasquale 2025-03-18 16:55:18 +00:00
parent d4228a7bed
commit 121781724b

View File

@ -5,6 +5,7 @@ let
frontendDomain = "llm.giugl.io"; frontendDomain = "llm.giugl.io";
ollamaPkg = pkgs.unstablePkgs.ollama-cuda; ollamaPkg = pkgs.unstablePkgs.ollama-cuda;
uiPkg = pkgs.unstablePkgs.open-webui; uiPkg = pkgs.unstablePkgs.open-webui;
tikaPkg = pkgs.unstablePkgs.tika;
in in
{ {
environment = { environment = {
@ -28,6 +29,11 @@ in
enable = true; enable = true;
package = uiPkg; package = uiPkg;
}; };
tika = {
enable = true;
package = tikaPkg;
};
}; };
architect.vhost.${backendDomain} = { architect.vhost.${backendDomain} = {
@ -55,7 +61,7 @@ in
port = config.services.open-webui.port; port = config.services.open-webui.port;
allowLan = true; allowLan = true;
allowWAN = true; allowWAN = true;
proxyWebsockets = true; proxyWebsockets = true;
}; };
}; };
} }