From 8b182a177f64f5465c71b5a11664c43ff53b7e71 Mon Sep 17 00:00:00 2001 From: Gabe Dunn Date: Wed, 12 Jun 2024 20:57:21 -0600 Subject: [PATCH] nixos/nextjs-ollama-llm-ui: fix for respecting ollamaUrl config option --- nixos/modules/services/web-apps/nextjs-ollama-llm-ui.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/web-apps/nextjs-ollama-llm-ui.nix b/nixos/modules/services/web-apps/nextjs-ollama-llm-ui.nix index d58210c8d961..9bd2cf310c0a 100644 --- a/nixos/modules/services/web-apps/nextjs-ollama-llm-ui.nix +++ b/nixos/modules/services/web-apps/nextjs-ollama-llm-ui.nix @@ -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 = {