Testing ollama.nvim

This commit is contained in:
albert 2024-12-17 20:53:54 +01:00
parent 6d71f7a6f6
commit c6e9b79ec9
Signed by: albert
GPG key ID: 3895DD267CA11BA9
2 changed files with 4 additions and 0 deletions

View file

@ -39,6 +39,9 @@
ollama = { ollama = {
enable = true; enable = true;
model = "vanilj/Phi-4"; model = "vanilj/Phi-4";
url = "http://127.0.0.1:11434";
action = "display";
serve.onStart = true;
}; };
lsp-lines.enable = true; lsp-lines.enable = true;
crates-nvim.enable = true; crates-nvim.enable = true;

View file

@ -1,6 +1,7 @@
{ pkgs, ... }: { { pkgs, ... }: {
services.ollama = { services.ollama = {
enable = true; enable = true;
openFirewall = true;
loadModels = [ loadModels = [
"vanilj/Phi-4" "vanilj/Phi-4"
]; ];