nixcfg/systems/x86_64-linux/halo/wyoming.nix
2026-02-24 13:25:42 +01:00

31 lines
616 B
Nix

{ pkgs, ... }:
{
services.wyoming = {
whisper-cpp = {
package = pkgs.wyoming-whisper-rs;
servers.main = {
enable = true;
model = "/var/lib/wyoming/whisper-cpp/ggml-large-v3.bin";
uri = "tcp://0.0.0.0:10300";
language = "de";
};
};
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
];
}