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 ];