nixcfg/systems/x86_64-linux/sgx/openwebui.nix
Harald Hoyer d188778574 feat(sgx): enable firewall opening for OpenWebUI
Added the `openFirewall` option set to true in the SGX OpenWebUI configuration. This change ensures that firewall rules are adjusted to allow access to the configured port. This enhances accessibility and simplifies setup for users.
2024-12-06 09:10:25 +01:00

18 lines
361 B
Nix

{ ... }:
{
services.open-webui = {
enable = true;
port = 8080;
host = "0.0.0.0";
openFirewall= true;
environment = {
ANONYMIZED_TELEMETRY = "False";
DO_NOT_TRACK = "True";
SCARF_NO_ANALYTICS = "True";
OLLAMA_API_BASE_URL = "http://m4:11434";
# Disable authentication
WEBUI_AUTH = "False";
};
};
}