fix: ollama
This commit is contained in:
parent
6b72e90c41
commit
886a34f7a5
1 changed files with 2 additions and 3 deletions
|
|
@ -2,19 +2,18 @@
|
|||
services.open-webui = {
|
||||
enable = true;
|
||||
openFirewall = true;
|
||||
host = "0.0.0.0";
|
||||
host = "chattn.sprechtl.me";
|
||||
};
|
||||
|
||||
services.ollama = {
|
||||
enable = true;
|
||||
host = "chattn.sprechtl.me";
|
||||
acceleration = "cuda";
|
||||
loadModels = ["llama3.2:3b" "deepseek-r1:1.5b" "gpt-oss:20b"];
|
||||
};
|
||||
|
||||
services.nginx = {
|
||||
enable = true;
|
||||
virtualHosts.${config.services.ollama.host} = {
|
||||
virtualHosts.${config.services.open-webui.host} = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
locations."/" = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue