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:
@@ -128,13 +128,13 @@ with lib;
|
|||||||
nix.settings.trusted-users = [ "nixos" ];
|
nix.settings.trusted-users = [ "nixos" ];
|
||||||
|
|
||||||
# Install less voices for speechd to save some space
|
# Install less voices for speechd to save some space
|
||||||
services.speechd.package = pkgs.speechd.override {
|
nixpkgs.overlays = [
|
||||||
mbrola = pkgs.mbrola.override {
|
(_: prev: {
|
||||||
mbrola-voices = pkgs.mbrola-voices.override {
|
mbrola-voices = prev.mbrola-voices.override {
|
||||||
# only ship with one voice per language
|
# only ship with one voice per language
|
||||||
languages = [ "*1" ];
|
languages = [ "*1" ];
|
||||||
};
|
};
|
||||||
};
|
})
|
||||||
};
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user