From 9986d286b102e8e6d3a2eee2a8672566c68ae6b0 Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Thu, 21 May 2026 23:08:20 +0200 Subject: [PATCH] refactor(openwebui): drop stale backend env vars now managed via UI The Ollama/OpenAI connection env vars are PersistentConfig: read only on first launch and thereafter owned by Open WebUI's DB. They no longer reflected the live backend, so remove them and document that connections are configured through the admin UI. --- systems/x86_64-linux/sgx/openwebui.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/systems/x86_64-linux/sgx/openwebui.nix b/systems/x86_64-linux/sgx/openwebui.nix index 589139e..6d95759 100644 --- a/systems/x86_64-linux/sgx/openwebui.nix +++ b/systems/x86_64-linux/sgx/openwebui.nix @@ -7,11 +7,11 @@ _: { ANONYMIZED_TELEMETRY = "False"; DO_NOT_TRACK = "True"; SCARF_NO_ANALYTICS = "True"; - ENABLE_OLLAMA_API = "True"; - OLLAMA_API_BASE_URL = "http://m4.local:11434"; - ENABLE_OPENAI_API = "False"; # Enable authentication WEBUI_AUTH = "True"; }; + # Model backend connections (Ollama/OpenAI) are PersistentConfig: configured + # via the admin web UI and stored in Open WebUI's DB. Not managed here — env + # vars only apply on first launch and would drift from the live config. }; }