diff --git a/nixos/modules/services/home-automation/wyoming/piper.nix b/nixos/modules/services/home-automation/wyoming/piper.nix index bf14d4ce85c6..e97f99b89ce1 100644 --- a/nixos/modules/services/home-automation/wyoming/piper.nix +++ b/nixos/modules/services/home-automation/wyoming/piper.nix @@ -96,6 +96,10 @@ in apply = toString; }; + streaming = mkEnableOption "audio streaming on sentence boundaries" // { + default = true; + }; + extraArgs = mkOption { type = listOf str; default = [ ]; @@ -158,6 +162,9 @@ in "--noise-w" options.noiseWidth ] + ++ lib.optionals options.streaming [ + "--streaming" + ] ++ options.extraArgs ); CapabilityBoundingSet = "";