1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-11-08 19:46:05 +01:00

Firefox: Apply global extension force setting to declarative extensions (#6567)

Respect the parent force option for the extension settings storage.js
This commit is contained in:
HPsaucii 2025-03-04 02:44:45 +00:00 committed by GitHub
parent fcac3d6d88
commit 70fbbf05a5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -911,7 +911,7 @@ in {
(name: settingConfig: {
"${profilesPath}/${profile.path}/browser-extension-data/${name}/storage.js" =
{
force = settingConfig.force;
force = settingConfig.force || profile.extensions.force;
text = generators.toJSON { } settingConfig.settings;
};
}) profile.extensions.settings)))));