diff options
| author | aethrvmn <me@aethrvmn.gr> | 2025-11-30 21:59:43 +0000 |
|---|---|---|
| committer | aethrvmn <me@aethrvmn.gr> | 2025-11-30 21:59:43 +0000 |
| commit | 893ea11e1dc05fe1a2a34e66d4ebcfdffda34720 (patch) | |
| tree | ef454e299f49cbb58e1b9fbafd0b759b4379ac2a /modules/open-webui | |
| parent | added .lock to ignorelist (diff) | |
huge restructure of modules
Diffstat (limited to '')
| -rw-r--r-- | modules/open-webui/default.nix | 24 |
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; + }; + }; + }; + }; +} |
