[firefox] Add speech synthesis

This commit is contained in:
Tibo De Peuter 2023-10-09 09:17:50 +02:00
parent 6c60d85ea6
commit ce2dfee548

View file

@ -1,16 +1,12 @@
{ inputs, lib, config, pkgs, ... }: { inputs, lib, config, pkgs, ... }:
{ {
home-manager.users.tdpeuter = { home-manager.users.tdpeuter.programs.firefox = {
home.packages = with pkgs; [
speechd
];
programs.firefox = {
enable = true; enable = true;
package = pkgs.firefox.override { package = pkgs.firefox.override {
cfg = { cfg = {
enableTridactylNative = true; enableTridactylNative = true;
speechSynthesisSupport = true;
}; };
extraPolicies = { extraPolicies = {
DisableFirefoxStudies = true; DisableFirefoxStudies = true;
@ -25,7 +21,9 @@
default = "DuckDuckGo"; default = "DuckDuckGo";
force = true; force = true;
engines = { engines = {
"Bing".metaData.hidden = true;
"eBay".metaData.hidden = true; "eBay".metaData.hidden = true;
"Nix Packages" = { "Nix Packages" = {
urls = [{ urls = [{
template = "https://search.nixos.org/packages"; template = "https://search.nixos.org/packages";
@ -42,6 +40,5 @@
}; };
}; };
}; };
};
} }