about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorGabe Dunn <gabe@sent.at>2024-06-12 20:57:21 -0600
committerGabe Dunn <gabe@sent.at>2024-06-12 21:24:29 -0600
commit8b182a177f64f5465c71b5a11664c43ff53b7e71 (patch)
tree9f0c7493f41ffe938ec07d98f541ff8bce3bb8df /nixos
parent81b5de61a46ea3b3087d4863d77a216c06ae9df1 (diff)
nixos/nextjs-ollama-llm-ui: fix for respecting ollamaUrl config option
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/services/web-apps/nextjs-ollama-llm-ui.nix2
1 files changed, 1 insertions, 1 deletions
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 d58210c8d9610..9bd2cf310c0af 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 = {