about summary refs log tree commit diff
path: root/nixos/modules/services/home-automation
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/modules/services/home-automation
parent493add30aa9cb2e199050fa37f286fff175d0881 (diff)
downloadnixlib-c7b71168cead989d0a1b81009ae1ff864ce58199.tar
nixlib-c7b71168cead989d0a1b81009ae1ff864ce58199.tar.gz
nixlib-c7b71168cead989d0a1b81009ae1ff864ce58199.tar.bz2
nixlib-c7b71168cead989d0a1b81009ae1ff864ce58199.tar.lz
nixlib-c7b71168cead989d0a1b81009ae1ff864ce58199.tar.xz
nixlib-c7b71168cead989d0a1b81009ae1ff864ce58199.tar.zst
nixlib-c7b71168cead989d0a1b81009ae1ff864ce58199.zip
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/modules/services/home-automation')
-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 cbff3ab3e617..d0fca6a41c7b 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";