From c7047b69b2bb116ed79e24057b3d451ec857ef91 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torjus=20H=C3=A5kestad?= Date: Thu, 11 Jul 2024 12:13:19 +0200 Subject: [PATCH] Add open-webui for ollama --- hosts/gunter/ollama.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/hosts/gunter/ollama.nix b/hosts/gunter/ollama.nix index 1c9299c..2bc223e 100644 --- a/hosts/gunter/ollama.nix +++ b/hosts/gunter/ollama.nix @@ -3,4 +3,14 @@ enable = true; acceleration = "cuda"; }; + services.open-webui = { + enable = true; + environment = { + DO_NOT_TRACK = "True"; + SCARF_NO_ANALYTICS = "True"; + OLLAMA_API_BASE_URL = "http://127.0.0.1:11434"; + WEBUI_AUTH = "False"; + }; + port = 11444; + }; }