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:
parent
13614951fc
commit
878922a902
@ -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" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
})
|
||||
];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user