summaryrefslogtreecommitdiff
path: root/modules/ollama.nix
diff options
context:
space:
mode:
authoradikro <adikro@disroot.org>2025-12-06 14:29:51 +0100
committeradikro <adikro@disroot.org>2025-12-06 14:29:51 +0100
commit4cf79fcc579909d334a81b23c1578daa41fff691 (patch)
tree2d6386265e4a41efed0d5e5b3c8c2bdc29efb527 /modules/ollama.nix
parent611576f9ee5232dfc399843c12dfeed5d58ec9ad (diff)
changes necessary for a nix update
Diffstat (limited to 'modules/ollama.nix')
-rw-r--r--modules/ollama.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/ollama.nix b/modules/ollama.nix
index 50b9471..be032c2 100644
--- a/modules/ollama.nix
+++ b/modules/ollama.nix
@@ -1,4 +1,4 @@
-{ ... }:
+{ pkgs, ... }:
{
fileSystems."/models" = {
device = "/home/ollama";
@@ -8,7 +8,7 @@
services.ollama = {
enable = true;
- acceleration = "rocm";
+ package = pkgs.ollama-rocm;
loadModels = [
"deepseek-r1:14b"
"qwen3:14b"