{ ... }: { services = { ollama = { enable = true; host = "127.0.0.1"; port = 11434; user = "ollama"; home = "/mnt/data/ollama"; loadModels = [ "gemma3n:e4b" # "gemma3n:e2b" "qwen3-coder-next:cloud" # "codellama:7b" "starcoder:3b" ]; }; open-webui = { enable = true; port = 8080; environmentFile = "/mnt/data/ollama/.env"; environment = { OLLAMA_BASE_URL = "http://localhost:11434"; # WEBUI_AUTH = "False"; }; }; }; }