From 97b12c483120129fb5a457bd9bcdfed13ba17b6b Mon Sep 17 00:00:00 2001 From: Rory& Date: Fri, 21 Jun 2024 07:23:28 +0200 Subject: Desktop updates --- host/Rory-desktop/ollama.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'host/Rory-desktop/ollama.nix') 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"; -- cgit 1.4.1