Merge pull request #319456 from redxtech/fix-nextjs-ollama-llm-ui

nixos/nextjs-ollama-llm-ui: fix for respecting ollamaUrl config option
This commit is contained in:
Pol Dellaiera
2024-06-16 22:46:43 +02:00
committed by GitHub
@@ -7,7 +7,7 @@
let
cfg = config.services.nextjs-ollama-llm-ui;
# we have to override the URL to a Ollama service here, because it gets baked into the web app.
nextjs-ollama-llm-ui = cfg.package.override { ollamaUrl = "https://ollama.lambdablob.com"; };
nextjs-ollama-llm-ui = cfg.package.override { inherit (cfg) ollamaUrl; };
in
{
options = {