nixcfg/systems/x86_64-linux/sgx/wyoming.nix
Harald Hoyer eb6136a0e0 chore(nix): simplify OpenWakeWord server config
- Removed nesting for `openwakeword` in `wyoming.nix` configuration.
- Preserved service functionality with TCP port `10400` and preloaded models.
2025-11-27 15:22:42 +01:00

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