1
1
Fork 1
mirror of https://github.com/oddlama/nix-config.git synced 2025-10-10 23:00:39 +02:00
oddlama_nix-config/hosts/sausebiene/wyoming.nix
2025-03-15 12:44:18 +01:00

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