services.ollama.loadModels
NixOS option
Download these models using ollama pull as soon as ollama.service has started. This creates a systemd unit ollama-model-loader.service. Use services.ollama.syncModels to automatically remove any models not currently declared here. Search for models of your choice from: https://ollama.com/library
type: list of stringDefault
[ ]
Example
declared in: nixos/modules/services/misc/ollama.nixView source on NixOS/nixpkgs →[ "dolphin3" "gemma3" "gemma3:27b" "deepseek-r1:latest" "deepseek-r1:1.5b" ]