From 72c40d52913752ef521632b5c9803748a77c02bb Mon Sep 17 00:00:00 2001 From: sajenim Date: Tue, 7 May 2024 20:43:15 +0800 Subject: [PATCH] install ollama --- nixos/fuchsia/configuration.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/nixos/fuchsia/configuration.nix b/nixos/fuchsia/configuration.nix index 5108739..d686c45 100644 --- a/nixos/fuchsia/configuration.nix +++ b/nixos/fuchsia/configuration.nix @@ -74,6 +74,17 @@ }; displayManager.startx.enable = true; }; + + # Get up and running with large language models locally. + ollama = { + enable = true; + package = pkgs.unstable.ollama; + acceleration = "rocm"; + # environmentVariables = { + # HSA_OVERRIDE_GFX_VERSION = "10.3.0"; + # }; + }; + # Enable a few other services. ratbagd.enable = true; pcscd.enable = true;