Harald Hoyer
29ca755e06
Introduce a new NixOS configuration for the OpenWebUI service, enabling it by default on port 8080. The setup includes environment settings to disable telemetry and authentication, and it adds the openwebui.nix to the system modules.
17 lines
336 B
Nix
17 lines
336 B
Nix
{ ... }:
|
|
{
|
|
services.open-webui = {
|
|
enable = true;
|
|
port = 8080;
|
|
host = "0.0.0.0";
|
|
enviroment = {
|
|
ANONYMIZED_TELEMETRY = "False";
|
|
DO_NOT_TRACK = "True";
|
|
SCARF_NO_ANALYTICS = "True";
|
|
OLLAMA_API_BASE_URL = "http://m4:11434";
|
|
# Disable authentication
|
|
WEBUI_AUTH = "False";
|
|
};
|
|
};
|
|
}
|