nixos/tts: fix error messages read before text

with a config like this :

```
services.tts = {
  servers = {
    english = {
      enable = true;
      port = 5300;
      model = "tts_models/en/ljspeech/vits"
    };
  };
};
```

You the WAVs tts creates contain an error message which will be read to
you before the text you typed in will be read to you.
This patch fixes that.
This commit is contained in:
Ingolf Wagner 2023-08-25 09:30:34 +02:00
parent e11ab30361
commit 7f2b869560
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B

View file

@ -134,6 +134,7 @@ in
ProtectProc = "invisible";
ProcSubset = "pid";
RestrictAddressFamilies = [
"AF_UNIX"
"AF_INET"
"AF_INET6"
];