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:
parent
493add30aa
commit
c7b71168ce
@ -119,6 +119,8 @@ in
|
|||||||
wantedBy = [
|
wantedBy = [
|
||||||
"multi-user.target"
|
"multi-user.target"
|
||||||
];
|
];
|
||||||
|
# https://github.com/rhasspy/wyoming-faster-whisper/issues/27
|
||||||
|
environment."HF_HUB_CACHE" = "/tmp";
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
DynamicUser = true;
|
DynamicUser = true;
|
||||||
User = "wyoming-faster-whisper";
|
User = "wyoming-faster-whisper";
|
||||||
|
Loading…
Reference in New Issue
Block a user