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 = {
enable = true;
model = "vanilj/Phi-4";
url = "http://127.0.0.1:11434";
action = "display";
serve.onStart = true;
};
lsp-lines.enable = true;
crates-nvim.enable = true;

View file

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