mirror of
https://github.com/oqyude/nixos.git
synced 2026-06-11 04:30:41 +03:00
open-webui for wsl
This commit is contained in:
Executable → Regular
+8
-8
@@ -5,17 +5,17 @@
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
fix = import inputs.nixos {
|
||||
system = "x86_64-linux";
|
||||
config.allowUnfree = true;
|
||||
}; # temp
|
||||
in
|
||||
# let
|
||||
# fix = import inputs.nixpkgs {
|
||||
# system = "x86_64-linux";
|
||||
# config.allowUnfree = true;
|
||||
# }; # temp
|
||||
# in
|
||||
{
|
||||
services = {
|
||||
open-webui = {
|
||||
enable = true;
|
||||
package = fix.open-webui;
|
||||
#package = fix.open-webui;
|
||||
host = "0.0.0.0";
|
||||
port = 11111;
|
||||
openFirewall = true;
|
||||
@@ -25,7 +25,7 @@ in
|
||||
SCARF_NO_ANALYTICS = "True";
|
||||
OPENAI_API_BASE_URL = "http://localhost:1234/v1";
|
||||
#OLLAMA_API_BASE_URL = "http://127.0.0.1:1234";
|
||||
WEBUI_AUTH = "True"; # Disable authentication
|
||||
WEBUI_AUTH = "True";
|
||||
ENABLE_SIGNUP = "True";
|
||||
ENABLE_SIGNUP_PASSWORD_CONFIRMATION = "True";
|
||||
ENABLE_VERSION_UPDATE_CHECK = "False";
|
||||
Reference in New Issue
Block a user