add ollama and safe mode
This commit is contained in:
parent
1bf4f8e96e
commit
77e83981d7
4 changed files with 43 additions and 28 deletions
|
|
@ -1,3 +1,19 @@
|
|||
{ ... }: {
|
||||
|
||||
services = {
|
||||
ollama = {
|
||||
enable = true;
|
||||
host = "127.0.0.1";
|
||||
port = 11434;
|
||||
# loadModels = [ "gemma3n:e4b" "gemma3n:e2b" ];
|
||||
};
|
||||
open-webui = {
|
||||
enable = true;
|
||||
port = 8080;
|
||||
environment = {
|
||||
OLLAMA_BASE_URL = "http://localhost:11434";
|
||||
WEBUI_AUTH = "False";
|
||||
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue