feat(halo): add wyoming
This commit is contained in:
parent
a8b2b36c64
commit
b5e7d5031a
1 changed files with 29 additions and 0 deletions
29
systems/x86_64-linux/halo/wyoming.nix
Normal file
29
systems/x86_64-linux/halo/wyoming.nix
Normal file
|
|
@ -0,0 +1,29 @@
|
||||||
|
{ ... }:
|
||||||
|
{
|
||||||
|
services.wyoming = {
|
||||||
|
faster-whisper.servers."main" = {
|
||||||
|
enable = true;
|
||||||
|
language = "de";
|
||||||
|
model = "base"; # or "small"/"medium" for better accuracy
|
||||||
|
uri = "tcp://0.0.0.0:10300";
|
||||||
|
device = "gpu";
|
||||||
|
};
|
||||||
|
|
||||||
|
piper.servers."main" = {
|
||||||
|
enable = true;
|
||||||
|
voice = "de_DE-thorsten-medium"; # popular German voice
|
||||||
|
uri = "tcp://0.0.0.0:10200";
|
||||||
|
};
|
||||||
|
|
||||||
|
openwakeword = {
|
||||||
|
enable = true;
|
||||||
|
uri = "tcp://0.0.0.0:10400";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
networking.firewall.allowedTCPPorts = [
|
||||||
|
10200
|
||||||
|
10300
|
||||||
|
10400
|
||||||
|
];
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue