From a05d7f9e123495a8394c30b3ea96ffc7c82fba41 Mon Sep 17 00:00:00 2001 From: BatteredBunny Date: Sat, 27 Jun 2026 14:10:47 +0300 Subject: [PATCH 1/2] tabbyapi: unstable-2026-06-13 -> unstable-2026-06-27 --- pkgs/by-name/ta/tabbyapi/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/ta/tabbyapi/package.nix b/pkgs/by-name/ta/tabbyapi/package.nix index d4027e187c8d..cac9ebfe2c59 100644 --- a/pkgs/by-name/ta/tabbyapi/package.nix +++ b/pkgs/by-name/ta/tabbyapi/package.nix @@ -7,14 +7,14 @@ }: python3Packages.buildPythonApplication { pname = "tabbyapi"; - version = "0-unstable-2026-06-13"; + version = "0-unstable-2026-06-27"; pyproject = true; src = fetchFromGitHub { owner = "theroyallab"; repo = "tabbyAPI"; - rev = "54850882315d509c984f9fe07fb8f5d04a0b4ba9"; - hash = "sha256-rIpI3pCJtfU1AEHBwQCIwuOh4c14N/z8VlX0hdxOC60="; + rev = "3cf468c28362c28be1c8fc731ce1ccaf7b2206d0"; + hash = "sha256-s97YFyij2/oYlClmV2laDrCkkoK4uVZgRsn5WwftLag="; }; build-system = with python3Packages; [ From d384512ee80dbd84755962da3cb02105d8225ef3 Mon Sep 17 00:00:00 2001 From: BatteredBunny Date: Sat, 27 Jun 2026 14:11:47 +0300 Subject: [PATCH 2/2] nixos/tabbyapi: add writable HOME and cache --- nixos/modules/services/web-apps/tabbyapi.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/nixos/modules/services/web-apps/tabbyapi.nix b/nixos/modules/services/web-apps/tabbyapi.nix index 0340e69775a7..bd937b0d5685 100644 --- a/nixos/modules/services/web-apps/tabbyapi.nix +++ b/nixos/modules/services/web-apps/tabbyapi.nix @@ -167,6 +167,13 @@ in wantedBy = [ "multi-user.target" ]; description = "TabbyAPI - OAI compatible server for Exllama"; + # Triton & huggingface downloader need writable cache folders + environment = { + HOME = "/var/lib/tabbyapi"; + XDG_CACHE_HOME = "/var/lib/tabbyapi/.cache"; + TRITON_CACHE_DIR = "/tmp/triton"; + }; + serviceConfig = { ExecStart = "${lib.getExe cfg.package} --config=${configFile}"; Restart = "on-failure";