diff --git a/nixos/modules/profiles/installation-device.nix b/nixos/modules/profiles/installation-device.nix index 0b10c0414147..913b6fc204dd 100644 --- a/nixos/modules/profiles/installation-device.nix +++ b/nixos/modules/profiles/installation-device.nix @@ -126,5 +126,15 @@ with lib; # allow nix-copy to live system nix.settings.trusted-users = [ "root" "nixos" ]; + + # Install less voices for speechd to save some space + services.speechd.package = pkgs.speechd.override { + mbrola = pkgs.mbrola.override { + mbrola-voices = pkgs.mbrola-voices.override { + # only ship with one voice per language + languages = [ "*1" ]; + }; + }; + }; }; }