Ollama
This commit is contained in:
parent
d49f8611d5
commit
abba34b8ec
1 changed files with 31 additions and 3 deletions
|
|
@ -103,8 +103,28 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
ollama = {
|
ollama = {
|
||||||
enable = false;
|
enable = true;
|
||||||
package = pkgs.ollama-intel;
|
package = pkgs.ollama-vulkan;
|
||||||
|
environmentVariables = {
|
||||||
|
GGML_VK_DISABLE_INTEGER_DOT_PRODUCT = "1";
|
||||||
|
OLLAMA_FLASH_ATTENTION = "1";
|
||||||
|
OLLAMA_VULKAN = "1";
|
||||||
|
OLLAMA_HOST = "0.0.0.0:11434";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
anubis = {
|
||||||
|
defaultOptions = {
|
||||||
|
enable = true;
|
||||||
|
settings.SERVE_ROBOTS_TXT = true;
|
||||||
|
firewall.enabled = true;
|
||||||
|
firewall.block_openai = true;
|
||||||
|
firewall.block_google = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
open-webui = {
|
||||||
|
enable = true;
|
||||||
|
port = 5009;
|
||||||
};
|
};
|
||||||
|
|
||||||
forgejo = {
|
forgejo = {
|
||||||
|
|
@ -250,7 +270,15 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
"map.dhilton.xyz" = {
|
"oai.dhilton.xyz" = {
|
||||||
|
forceSSL = true;
|
||||||
|
enableACME = true;
|
||||||
|
locations."/" = {
|
||||||
|
proxyPass = "http://127.0.0.1:5009";
|
||||||
|
proxyWebsockets = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
locations."/" = {
|
locations."/" = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue