nixos/faster-whisper: set model download path (#307664)

Fix inspired from this issue: https://github.com/rhasspy/wyoming-faster-whisper/issues/27
This commit is contained in:
Pierre Penninckx 2024-04-29 13:08:50 -07:00 committed by GitHub
parent 493add30aa
commit c7b71168ce
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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";