From e1086adf27eae7c707b98ed09da8a7289b822f23 Mon Sep 17 00:00:00 2001 From: Leonora Tindall Date: Thu, 3 Jul 2025 09:33:20 -0500 Subject: [PATCH] Add ollama --- ollama.nix | 10 ++++++++++ timberhearth.nix | 1 + 2 files changed, 11 insertions(+) create mode 100644 ollama.nix diff --git a/ollama.nix b/ollama.nix new file mode 100644 index 0000000..720dfd6 --- /dev/null +++ b/ollama.nix @@ -0,0 +1,10 @@ +{ config, pkgs, ... }: +{ + services.ollama = { + enable = true; + acceleration = "rocm"; + environmentVariables = { + HSA_OVERRIDE_GFX_VERSION = "10.3.0"; + }; + }; +} diff --git a/timberhearth.nix b/timberhearth.nix index 0dac571..8dd179d 100644 --- a/timberhearth.nix +++ b/timberhearth.nix @@ -17,6 +17,7 @@ in ./zellij.nix ./jj.nix ./hare.nix + ./ollama.nix ./packages-min.nix ];