1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-03-11 11:17:03 +00:00
home-manager/tests/modules
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
..
accounts tests: allow testing assertions 2021-02-07 22:48:22 +01:00
config/i18n tests: rework derivation stubbing 2025-02-04 23:58:20 +01:00
files tests: various minor cleanups 2023-05-13 00:09:52 +02:00
home-environment i18n: Use glibcLocales from NixOS if possible (#2333) (#4177) 2023-07-04 11:28:25 +02:00
i18n/input-method tests: rework derivation stubbing 2025-02-04 23:58:20 +01:00
launchd launchd: make Launch Agents config a freeform setting 2023-03-25 23:59:58 +01:00
misc tests: rework derivation stubbing 2025-02-04 23:58:20 +01:00
programs firefox: add support for configuring extensions 2025-02-17 12:17:38 -08:00
services yubikey-agent: init service module (#6446) 2025-02-14 15:10:24 -06:00
systemd tests: change quoting to match new Nixpkgs behavior 2024-09-08 23:32:19 +02:00
targets-darwin darwin: use full path to commands in activation script 2022-11-05 12:14:08 +09:00
targets-linux xdg.systemDirs: init module (#1797) 2021-05-10 20:14:42 -04:00
xresources xresources: allow floating point values 2024-12-22 19:48:53 +01:00