{ config, pkgs, lib, ... }: { services = { ollama = { enable = true; loadModels = [ "gemma3:12b" "qwen3-coder:30b" ]; }; nginx.virtualHosts = { "ollama.internal" = { locations."/" = { proxyPass = "http://127.0.0.1:11434"; proxyWebsockets = true; }; }; }; }; }