[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,43 +1,40 @@
{ inputs, lib, config, pkgs, ... }: { inputs, lib, config, pkgs, ... }:
{ {
home-manager.users.tdpeuter = { home-manager.users.tdpeuter.programs.firefox = {
home.packages = with pkgs; [ enable = true;
speechd package = pkgs.firefox.override {
]; cfg = {
enableTridactylNative = true;
programs.firefox = { speechSynthesisSupport = true;
enable = true;
package = pkgs.firefox.override {
cfg = {
enableTridactylNative = true;
};
extraPolicies = {
DisableFirefoxStudies = true;
DisablePocket = true;
DisableTelemetry = true;
ExtensionSettings = {};
OfferToSaveLogins = false;
};
}; };
profiles.tdpeuter = { extraPolicies = {
search = { DisableFirefoxStudies = true;
default = "DuckDuckGo"; DisablePocket = true;
force = true; DisableTelemetry = true;
engines = { ExtensionSettings = {};
"eBay".metaData.hidden = true; OfferToSaveLogins = false;
"Nix Packages" = { };
urls = [{ };
template = "https://search.nixos.org/packages"; profiles.tdpeuter = {
params = [ search = {
{ name = "type"; value = "packages"; } default = "DuckDuckGo";
{ name = "query"; value = "{searchTerms}"; } force = true;
]; engines = {
}]; "Bing".metaData.hidden = true;
"eBay".metaData.hidden = true;
icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg"; "Nix Packages" = {
definedAliases = [ "@np" ]; urls = [{
}; template = "https://search.nixos.org/packages";
params = [
{ name = "type"; value = "packages"; }
{ name = "query"; value = "{searchTerms}"; }
];
}];
icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
definedAliases = [ "@np" ];
}; };
}; };
}; };