fix: Trying to fix ollama service for darwin
This commit is contained in:
@@ -3,5 +3,6 @@
|
||||
./yabai.nix
|
||||
./skhd.nix
|
||||
./tailscale.nix
|
||||
./ollama.nix
|
||||
];
|
||||
}
|
||||
|
||||
17
darwin/kuro/services/ollama.nix
Normal file
17
darwin/kuro/services/ollama.nix
Normal file
@@ -0,0 +1,17 @@
|
||||
{pkgs, ...}: {
|
||||
imports = [../../../modules/ollama.nix];
|
||||
services.ollama = {
|
||||
enable = true;
|
||||
host = "127.0.0.1";
|
||||
port = 11434;
|
||||
loadModels = [
|
||||
"deepseek-r1:7b"
|
||||
# "deepseek-r1:14b"
|
||||
# "RobinBially/nomic-embed-text-8k"
|
||||
];
|
||||
environmentVariables = {
|
||||
OLLAMA_ORIGINS = "*";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user