about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorPierre Penninckx <ibizapeanut@gmail.com>2024-04-29 13:08:50 -0700
committerGitHub <noreply@github.com>2024-04-29 22:08:50 +0200
commitc7b71168cead989d0a1b81009ae1ff864ce58199 (patch)
treecec2793627cac4a63bf9bd0dbcf910c1519ec59c /nixos
parent493add30aa9cb2e199050fa37f286fff175d0881 (diff)
nixos/faster-whisper: set model download path (#307664)
Fix inspired from this issue: https://github.com/rhasspy/wyoming-faster-whisper/issues/27
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/services/home-automation/wyoming/faster-whisper.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/modules/services/home-automation/wyoming/faster-whisper.nix b/nixos/modules/services/home-automation/wyoming/faster-whisper.nix
index cbff3ab3e617c..d0fca6a41c7b6 100644
--- a/nixos/modules/services/home-automation/wyoming/faster-whisper.nix
+++ b/nixos/modules/services/home-automation/wyoming/faster-whisper.nix
@@ -119,6 +119,8 @@ in
         wantedBy = [
           "multi-user.target"
         ];
+        # https://github.com/rhasspy/wyoming-faster-whisper/issues/27
+        environment."HF_HUB_CACHE" = "/tmp";
         serviceConfig = {
           DynamicUser = true;
           User = "wyoming-faster-whisper";