Disabled ZSH syntax highlighting; updated ollama host to be wildcard
This commit is contained in:
@@ -37,17 +37,18 @@
|
|||||||
|
|
||||||
services.ollama = {
|
services.ollama = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.ollama-cuda.override {
|
host = "0.0.0.0";
|
||||||
cudaArches = [
|
|
||||||
"61"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
openFirewall = true;
|
openFirewall = true;
|
||||||
# Make sure this path is created and has the permissions of ollama:ollama.
|
# Make sure this path is created and has the permissions of ollama:ollama.
|
||||||
models = "/mnt/storage/models";
|
models = "/mnt/storage/models";
|
||||||
environmentVariables = {
|
environmentVariables = {
|
||||||
OLLAMA_CONTEXT_LENGTH = "8192";
|
OLLAMA_CONTEXT_LENGTH = "8192";
|
||||||
};
|
};
|
||||||
|
package = pkgs.ollama-cuda.override {
|
||||||
|
cudaArches = [
|
||||||
|
"61"
|
||||||
|
];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# NGINX Reverse Proxy Setup
|
# NGINX Reverse Proxy Setup
|
||||||
|
|||||||
@@ -25,7 +25,6 @@
|
|||||||
enable = true;
|
enable = true;
|
||||||
enableCompletion = true;
|
enableCompletion = true;
|
||||||
autosuggestion.enable = true;
|
autosuggestion.enable = true;
|
||||||
syntaxHighlighting.enable = true;
|
|
||||||
history.size = 100000000;
|
history.size = 100000000;
|
||||||
|
|
||||||
shellAliases = {
|
shellAliases = {
|
||||||
|
|||||||
Reference in New Issue
Block a user