chore(nix): add Wyoming service configuration

- Introduced a new `wyoming.nix` file with service definitions for `faster-whisper` and `piper`.
- Enabled TCP ports `10200` and `10300` in the firewall for service communication.
- Updated SGX configuration to include `wyoming.nix` in system imports.
This commit is contained in:
Harald Hoyer 2025-11-27 15:04:53 +01:00
parent 66022d19c2
commit 4c641910fd
2 changed files with 24 additions and 0 deletions

View file

@ -0,0 +1,23 @@
{ ... }:
{
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";
};
};
networking.firewall.allowedTCPPorts = [
10200
10300
];
}