Tts
services.tts.servers
TTS server instances.
Type: attribute set of (submodule)
Default
{ }
Example
{english = {port = 5300;model = "tts_models/en/ljspeech/tacotron2-DDC";};german = {port = 5301;model = "tts_models/de/thorsten/tacotron2-DDC";};dutch = {port = 5302;model = "tts_models/nl/mai/tacotron2-DDC";};}
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/audio/tts.nix
services.tts.servers.<name>.enable
Whether to enable Coqui TTS server.
Type: boolean
Default
false
Example
true
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/audio/tts.nix
services.tts.servers.<name>.extraArgs
Extra arguments to pass to the server commandline.
Type: list of string
Default
[ ]
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/audio/tts.nix
services.tts.servers.<name>.model
Name of the model to download and use for speech synthesis.
Check tts-server --list_models
for possible values.
Set to null
to use a custom model.
Type: null or string
Default
"tts_models/en/ljspeech/tacotron2-DDC"
Example
null
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/audio/tts.nix
services.tts.servers.<name>.port
Port to bind the TTS server to.
Type: 16 bit unsigned integer; between 0 and 65535 (both inclusive)
Example
5000
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/audio/tts.nix
services.tts.servers.<name>.useCuda
Whether to offload computation onto a CUDA compatible GPU.
Type: boolean
Default
false
Example
true
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/audio/tts.nix