feat: add open-webui

This commit is contained in:
tux
2025-02-03 23:01:48 +05:30
parent 7b86b2367b
commit 21dfd9c587
2 changed files with 12 additions and 0 deletions

View File

@ -14,6 +14,7 @@
../common
../../modules/nixos/desktop
../../modules/nixos/virtualisation/docker.nix
../../modules/nixos/open-webui.nix
];
networking = {

View 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";
};
};
}