nix-config/config/services/ollama.nix
Patrick fcd5a27dce
chore: new README
chore: new structure
2024-04-11 23:11:53 +02:00

14 lines
270 B
Nix

{
networking.firewall.allowedTCPPorts = [11434];
services.ollama = {
listenAddress = "0.0.0.0:11434";
enable = true;
};
environment.persistence."/state".directories = [
{
directory = "/var/lib/private/ollama";
mode = "0700";
}
];
}