aboutsummaryrefslogtreecommitdiff
path: root/modules/open-webui
diff options
context:
space:
mode:
authoraethrvmn <me@aethrvmn.gr>2025-11-30 21:59:43 +0000
committeraethrvmn <me@aethrvmn.gr>2025-11-30 21:59:43 +0000
commit893ea11e1dc05fe1a2a34e66d4ebcfdffda34720 (patch)
treeef454e299f49cbb58e1b9fbafd0b759b4379ac2a /modules/open-webui
parentadded .lock to ignorelist (diff)
huge restructure of modules
Diffstat (limited to 'modules/open-webui')
-rw-r--r--modules/open-webui/default.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/modules/open-webui/default.nix b/modules/open-webui/default.nix
new file mode 100644
index 0000000..b8c0938
--- /dev/null
+++ b/modules/open-webui/default.nix
@@ -0,0 +1,24 @@
+{
+ services = {
+ open-webui = {
+ enable = false;
+ port = 3030;
+ environment = {
+ ANONYMIZED_TELEMETRY = "False";
+ DO_NOT_TRACK = "True";
+ SCARF_NO_ANALYTICS = "True";
+ WEBUI_AUTH = "False";
+ OLLAMA_API_BASE_URL = "http://localhost:11434";
+ };
+ };
+
+ nginx.virtualHosts = {
+ "chat.internal" = {
+ locations."/" = {
+ proxyPass = "http://127.0.0.1:3030";
+ proxyWebsockets = true;
+ };
+ };
+ };
+ };
+}
Directive (EU) 2019/790, Article 4(3); all rights regarding Text and Data Mining (TDM) are reserved.