nixcfg/systems/x86_64-linux/sgx/openwebui.nix
Harald Hoyer 8202aad70f feat(sgx): enable authentication for OpenWebUI
- Set `WEBUI_AUTH` to "True" in the OpenWebUI configuration.
- This change enforces authentication for enhanced security.
2025-04-30 11:05:17 +02:00

19 lines
412 B
Nix

{ ... }:
{
services.open-webui = {
enable = true;
port = 8080;
host = "127.0.0.1";
environment = {
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";
};
};
}