From 8ceebbdb53ea5c67310a5281c30f53c9cf504d70 Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Fri, 25 Oct 2024 02:10:20 -0400 Subject: Use newer ollama in system service Ollama releases often, and nixos-24.05 has a very old version, it was preventing me from doing work. Here I'm putting the newer nixos unstable as an overlay into the 24.05 version so I can backpull versions as needed. --- Biz/Bild/Deps.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Biz/Bild/Deps.nix') diff --git a/Biz/Bild/Deps.nix b/Biz/Bild/Deps.nix index 23b096d..9ba0b31 100644 --- a/Biz/Bild/Deps.nix +++ b/Biz/Bild/Deps.nix @@ -30,7 +30,7 @@ _self: super: nostr-rs-relay = super.callPackage ./Deps/nostr-rs-relay.nix { }; - ollama = super.callPackage ./Deps/ollama.nix { acceleration = "cuda"; }; + ollama = super.ollama.override { acceleration = "cuda"; }; # https://github.com/NixOS/nixpkgs/issues/317147#issuecomment-2147343125 radicale = super.radicale.overrideAttrs (_old: rec { -- cgit v1.2.3