CrOS/modules/services/ollama/default.nix
TheWanderingCrow 72c17ae18e add ollama
2025-07-11 10:57:44 -04:00

19 lines
280 B
Nix

{
config,
pkgs,
...
}: {
services.ollama = {
enable = true;
loadModels = [];
acceleration = "rocm";
};
networking.firewall.allowedTCPPorts = [3000];
services.nextjs-ollama-llm-ui = {
enable = true;
port = 3000;
hostname = "0.0.0.0";
};
}