- Removed nesting for `openwakeword` in `wyoming.nix` configuration. - Preserved service functionality with TCP port `10400` and preloaded models.
29 lines
632 B
Nix
29 lines
632 B
Nix
{ ... }:
|
|
{
|
|
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 = "cpu";
|
|
};
|
|
|
|
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";
|
|
preloadModels = [ "hey_jarvis" ]; # or "hey_jarvis", "alexa", etc.
|
|
};
|
|
};
|
|
|
|
networking.firewall.allowedTCPPorts = [
|
|
10200
|
|
10300
|
|
];
|
|
}
|