nixcfg/systems/x86_64-linux/sgx/wyoming.nix
Harald Hoyer 40e677ea02 chore(nix): add TCP port 10400 to Wyoming firewall
- Updated `wyoming.nix` to allow traffic on TCP port `10400`.
- Ensures compatibility with services requiring this port.
2025-11-27 15:24:38 +01:00

30 lines
642 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
10400
];
}