This commit is contained in:
2025-07-31 18:03:22 +03:00
parent 4339fa0e85
commit bb4308f688
3 changed files with 14 additions and 10 deletions
+12 -8
View File
@@ -5,21 +5,25 @@
pkgs,
...
}:
let
last-stable = import inputs.nixos { system = "x86_64-linux"; }; # temp
in
{
services = {
open-webui = {
enable = true;
#package = last-stable.open-webui;
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/v1";
# #OLLAMA_API_BASE_URL = "http://127.0.0.1:1234";
# #WEBUI_AUTH = "False"; # Disable authentication
# };
environment = {
ANONYMIZED_TELEMETRY = "False";
DO_NOT_TRACK = "True";
SCARF_NO_ANALYTICS = "True";
OPENAI_API_BASE_URL = "http://192.168.1.100:1234/v1";
#OLLAMA_API_BASE_URL = "http://127.0.0.1:1234";
#WEBUI_AUTH = "False"; # Disable authentication
};
};
};
}