mirror of
https://github.com/oqyude/nixos.git
synced 2026-06-11 04:30:41 +03:00
localhost lm studio
This commit is contained in:
@@ -6,13 +6,16 @@
|
||||
...
|
||||
}:
|
||||
let
|
||||
unfree = import inputs.nixpkgs-webui { system = "x86_64-linux"; config.allowUnfree = true; }; # temp
|
||||
unfree = import inputs.nixpkgs-webui {
|
||||
system = "x86_64-linux";
|
||||
config.allowUnfree = true;
|
||||
}; # temp
|
||||
in
|
||||
{
|
||||
services = {
|
||||
open-webui = {
|
||||
enable = false;
|
||||
package = unfree.open-webui;
|
||||
enable = true;
|
||||
#package = unfree.open-webui;
|
||||
host = "0.0.0.0";
|
||||
port = 11111;
|
||||
openFirewall = true;
|
||||
@@ -20,7 +23,7 @@ in
|
||||
ANONYMIZED_TELEMETRY = "False";
|
||||
DO_NOT_TRACK = "True";
|
||||
SCARF_NO_ANALYTICS = "True";
|
||||
OPENAI_API_BASE_URL = "http://192.168.1.100:1234/v1";
|
||||
OPENAI_API_BASE_URL = "http://localhost:1234/v1";
|
||||
#OLLAMA_API_BASE_URL = "http://127.0.0.1:1234";
|
||||
#WEBUI_AUTH = "False"; # Disable authentication
|
||||
};
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
service = "http://sapphira.latxa-platy.ts.net:10000";
|
||||
};
|
||||
"llm.zeroq.ru" = {
|
||||
service = "http://sapphira.latxa-platy.ts.net:11111";
|
||||
service = "http://atoridu.latxa-platy.ts.net:11111";
|
||||
};
|
||||
};
|
||||
default = "http_status:404";
|
||||
|
||||
Reference in New Issue
Block a user