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/profiles
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
..
bookmarks firefox: add preConfig 2025-01-29 18:36:43 +01:00
containers firefox: change container.json version to 5 2024-10-19 09:02:11 +02:00
extensions firefox: add support for configuring extensions 2025-02-17 12:17:38 -08:00
overwrite firefox: add preConfig 2025-01-29 18:36:43 +01:00
search floorp: add module 2024-10-12 00:21:33 +02:00
settings firefox: add preConfig 2025-01-29 18:36:43 +01:00
duplicate-ids.nix firefox: organize tests by submodule (#5698) 2024-10-07 23:06:52 +02:00
shared-path.nix tests/firefox: add shared path test 2024-10-18 08:31:24 -05:00