add persistent ollama storage with preloaded stuff

This commit is contained in:
Christoph Cullmann 2025-04-26 16:20:34 +02:00
parent 4ad04ec300
commit bcc6bb1780
No known key found for this signature in database

View file

@ -241,6 +241,9 @@ in
# flatpak storage # flatpak storage
"/var/lib/flatpak" "/var/lib/flatpak"
# ollama storage
"/var/lib/private/ollama"
]; ];
}; };
@ -631,5 +634,8 @@ in
# try local AI stuff # try local AI stuff
services.ollama = { services.ollama = {
enable = true; enable = true;
# preload models, see https://ollama.com/library
loadModels = [ "llama3.2" ];
}; };
} }