1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-03-10 18:57:22 +00:00
home-manager/tests/modules/programs/firefox
HPsaucii 27ffa35178 firefox: add support for configuring extensions
This commit refactors programs.firefox.profiles.<name>.extensions in
order to support both installation of extensions (addons) and their
configuration. It does this by setting the
`extensions.webextensions.ExtensionStorageIDB.enabled` user_pref to
false.

When this preference is set to false, support for storing extension
settings in sqlite databases, also known as IndexedDB or IDB, is
reverted back to the JSON format present in firefox versions prior to
version 63, as seen here:
https://blog.mozilla.org/addons/2018/08/03/new-backend-for-storage-local-api/

IndexedDB was made the default due to performance improvements, but had
the consequence of removing any possibility of declarative extension
configuration without the assistance of firefox's policy system. The
policy system is supported by a small amount of extensions, such as
uBlock Origin, but has to be explicitly supported. Even when supported,
it provides significantly less granular control when compared to the
JSON storage format.
2025-02-17 12:17:38 -08:00
..
profiles firefox: add support for configuring extensions 2025-02-17 12:17:38 -08:00
common.nix firefox: add preConfig 2025-01-29 18:36:43 +01:00
deprecated-native-messenger.nix firefox: support firefox derivatives 2024-07-28 23:53:08 +02:00
final-package.nix tests: rework derivation stubbing 2025-02-04 23:58:20 +01:00
firefox.nix floorp: add module 2024-10-12 00:21:33 +02:00
floorp.nix floorp: add module 2024-10-12 00:21:33 +02:00
policies.nix floorp: add module 2024-10-12 00:21:33 +02:00
setup-firefox-mock-overlay.nix tests: rework derivation stubbing 2025-02-04 23:58:20 +01:00
state-version-19_09.nix firefox: support firefox derivatives 2024-07-28 23:53:08 +02:00