nix-config/modules/librewolf.nix
Donovan Glover 4f1cde5571
librewolf: install firefox extensions globally
Reduces complexity since we no longer have to manually update each
package from a non-firefox source.

Requires internet connectivity at runtime but should ensure that the
extensions are always up to date.
2024-12-16 18:14:57 -05:00

33 lines
973 B
Nix

{ pkgs, ... }:
{
programs.firefox = {
enable = true;
package = pkgs.librewolf;
policies = {
ExtensionSettings = {
"showdex@tize.io" = {
install_url = "https://addons.mozilla.org/firefox/downloads/latest/showdex/latest.xpi";
installation_mode = "force_installed";
};
"{6b733b82-9261-47ee-a595-2dda294a4d08}" = {
install_url = "https://addons.mozilla.org/firefox/downloads/latest/yomitan/latest.xpi";
installation_mode = "force_installed";
};
"{5003e502-f361-4bf6-b09e-41a844d36d33}" = {
install_url = "https://addons.mozilla.org/firefox/downloads/latest/redlib/latest.xpi";
installation_mode = "force_installed";
};
"uBlock0@raymondhill.net" = {
install_url = "https://addons.mozilla.org/firefox/downloads/latest/ublock-origin/latest.xpi";
installation_mode = "force_installed";
};
};
};
};
}