mirror of
https://github.com/oddlama/nix-config.git
synced 2025-10-10 23:00:39 +02:00
28 lines
653 B
Nix
28 lines
653 B
Nix
{
|
|
environment.persistence."/persist".directories = [
|
|
{
|
|
directory = "/var/lib/private/wyoming";
|
|
mode = "0700";
|
|
}
|
|
];
|
|
|
|
services.wyoming.faster-whisper = {
|
|
servers.hass = {
|
|
enable = true;
|
|
# see https://github.com/rhasspy/rhasspy3/blob/master/programs/asr/faster-whisper/script/download.py
|
|
model = "base-int8";
|
|
language = "de";
|
|
uri = "tcp://0.0.0.0:10300";
|
|
device = "cpu";
|
|
};
|
|
};
|
|
|
|
services.wyoming.piper = {
|
|
servers.hass = {
|
|
enable = true;
|
|
# https://rhasspy.github.io/piper-samples/
|
|
voice = "de_DE-thorsten-high";
|
|
uri = "tcp://0.0.0.0:10200";
|
|
};
|
|
};
|
|
}
|