summary refs log tree commit diff
path: root/host/Rory-desktop/ollama.nix
diff options
context:
space:
mode:
Diffstat (limited to 'host/Rory-desktop/ollama.nix')
-rwxr-xr-xhost/Rory-desktop/ollama.nix12
1 files changed, 12 insertions, 0 deletions
diff --git a/host/Rory-desktop/ollama.nix b/host/Rory-desktop/ollama.nix
index 1770ede..233ea1f 100755
--- a/host/Rory-desktop/ollama.nix
+++ b/host/Rory-desktop/ollama.nix
@@ -3,6 +3,18 @@
 {
 #  systemd.tmpfiles.rules = [  "d /data/ollama 0750 ostgres postgres" ];
 
+  #overlays
+  nixpkgs.overlays = [
+    (final: old: {
+        rocmPackages = old.rocmPackages // {
+          rocblas = (old.rocmPackages.rocblas.overrideAttrs (oldAttrs: {
+            gpuTargets = [ "gfx1102" ];
+          }));
+        };
+      }
+    )
+  ];
+
   services.ollama = {
     enable = true;
     home = "/data/ollama/home";