From 7f2b8695603896819b09570a255d8c4f42274c47 Mon Sep 17 00:00:00 2001 From: Ingolf Wagner Date: Fri, 25 Aug 2023 09:30:34 +0200 Subject: [PATCH] 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. --- nixos/modules/services/audio/tts.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos/modules/services/audio/tts.nix b/nixos/modules/services/audio/tts.nix index 1a355c8ee39..0d93224ec03 100644 --- a/nixos/modules/services/audio/tts.nix +++ b/nixos/modules/services/audio/tts.nix @@ -134,6 +134,7 @@ in ProtectProc = "invisible"; ProcSubset = "pid"; RestrictAddressFamilies = [ + "AF_UNIX" "AF_INET" "AF_INET6" ];