From ad022342dbe7197805324323470ffce0f9243341 Mon Sep 17 00:00:00 2001 From: Dave Gallant Date: Tue, 17 Feb 2026 07:46:57 -0500 Subject: [PATCH] Add ollama back --- hosts/hephaestus.nix | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/hosts/hephaestus.nix b/hosts/hephaestus.nix index fc2ea77..d093afa 100644 --- a/hosts/hephaestus.nix +++ b/hosts/hephaestus.nix @@ -233,11 +233,22 @@ }; }; - services = { - mullvad-vpn = { + services.mullvad-vpn = { enable = true; package = pkgs.mullvad-vpn; }; + + services.ollama = { + package = pkgs.ollama; + enable = true; + acceleration = "rocm"; + host = "0.0.0.0"; + environmentVariables = { + HSA_OVERRIDE_GFX_VERSION = "11.0.2"; + }; + loadModels = [ + "qwen2.5-coder:7b" + ]; }; system = {