mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2026-02-22 12:55:13 +08:00
feat: comply with new ollama settings in nixpkgs
This commit is contained in:
parent
23fdee214a
commit
b536f9d776
1 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue