nixos/installation-device: use a bigger hammer

Untrimmed mbrola-voices is leaking into the installer images again.
Instead of trying to manually squash every path it could possibly
leak through, use a very big hammer.
This commit is contained in:
K900 2024-09-03 10:51:33 +03:00
parent 13614951fc
commit 878922a902

View File

@ -128,13 +128,13 @@ with lib;
nix.settings.trusted-users = [ "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 {
nixpkgs.overlays = [
(_: prev: {
mbrola-voices = prev.mbrola-voices.override {
# only ship with one voice per language
languages = [ "*1" ];
};
};
};
})
];
};
}