boron: run ollama service
All checks were successful
flake / flake (push) Successful in 1m15s

This commit is contained in:
Jake Hillion 2024-08-09 22:36:27 +01:00
parent 3d642e2320
commit c58129050c

View File

@ -82,6 +82,14 @@
fileSystems = [ "/data" ]; fileSystems = [ "/data" ];
}; };
## Ollama
services.ollama = {
enable = true;
models = "/data/ollama/models";
writablePaths = [ "/data/ollama/models" ];
};
## Networking ## Networking
boot.kernel.sysctl = { boot.kernel.sysctl = {
"net.ipv4.ip_forward" = true; "net.ipv4.ip_forward" = true;