mirror of
https://github.com/oqyude/nixos.git
synced 2026-06-11 04:30:41 +03:00
26 lines
514 B
Nix
Executable File
26 lines
514 B
Nix
Executable File
{ inputs, ... }@flakeContext:
|
|
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}:
|
|
{
|
|
services = {
|
|
open-webui = {
|
|
enable = true;
|
|
host = "0.0.0.0";
|
|
port = 11111;
|
|
openFirewall = true;
|
|
environment = {
|
|
ANONYMIZED_TELEMETRY = "False";
|
|
DO_NOT_TRACK = "True";
|
|
SCARF_NO_ANALYTICS = "True";
|
|
OPENAI_API_BASE_URL = "http://127.0.0.1:1234";
|
|
#OLLAMA_API_BASE_URL = "http://127.0.0.1:1234";
|
|
#WEBUI_AUTH = "False"; # Disable authentication
|
|
};
|
|
};
|
|
};
|
|
}
|