services.ollama.loadModels

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 string
Default
[ ]
Example
[
  "dolphin3"
  "gemma3"
  "gemma3:27b"
  "deepseek-r1:latest"
  "deepseek-r1:1.5b"
]
Declared
<nixpkgs/nixos/modules/services/misc/ollama.nix>