add persistent ollama storage with preloaded stuff
This commit is contained in:
parent
4ad04ec300
commit
bcc6bb1780
1 changed files with 6 additions and 0 deletions
|
@ -241,6 +241,9 @@ in
|
|||
|
||||
# flatpak storage
|
||||
"/var/lib/flatpak"
|
||||
|
||||
# ollama storage
|
||||
"/var/lib/private/ollama"
|
||||
];
|
||||
};
|
||||
|
||||
|
@ -631,5 +634,8 @@ in
|
|||
# try local AI stuff
|
||||
services.ollama = {
|
||||
enable = true;
|
||||
|
||||
# preload models, see https://ollama.com/library
|
||||
loadModels = [ "llama3.2" ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue