feat: comply with new ollama settings in nixpkgs

This commit is contained in:
Ahwx 2026-01-02 11:35:37 +01:00
parent 23fdee214a
commit b536f9d776

View file

@ -1,9 +1,10 @@
{ pkgs, ... }:
{
services.ollama = {
enable = true;
# Optional: preload models, see https://ollama.com/library
# loadModels = [ "llama3.2:3b" "deepseek-r1:1.5b"];
acceleration = "rocm"; # nope, 5700XT is too old for this
package = pkgs.ollama-rocm; # nope, 5700XT is too old for this
};
services.open-webui.enable = false;
}