mirror of
https://github.com/tuxdotrs/tawm.git
synced 2025-07-05 20:56:33 +05:30
feat: add open-webui
This commit is contained in:
@ -14,6 +14,7 @@
|
|||||||
../common
|
../common
|
||||||
../../modules/nixos/desktop
|
../../modules/nixos/desktop
|
||||||
../../modules/nixos/virtualisation/docker.nix
|
../../modules/nixos/virtualisation/docker.nix
|
||||||
|
../../modules/nixos/open-webui.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
networking = {
|
networking = {
|
||||||
|
11
modules/nixos/open-webui.nix
Normal file
11
modules/nixos/open-webui.nix
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
{...}: {
|
||||||
|
services.open-webui = {
|
||||||
|
enable = true;
|
||||||
|
openFirewall = true;
|
||||||
|
host = "0.0.0.0";
|
||||||
|
environment = {
|
||||||
|
ENABLE_OLLAMA_API = "True";
|
||||||
|
OLLAMA_BASE_URL = "http://pc:11434";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Reference in New Issue
Block a user