nixos/nextjs-ollama-llm-ui: fix for respecting ollamaUrl config option

This commit is contained in:
Gabe Dunn 2024-06-12 20:57:21 -06:00
parent 81b5de61a4
commit 8b182a177f
No known key found for this signature in database
GPG Key ID: 3CF62DDF7CE67FB9

View File

@ -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 = {