Replies: 2 comments
|
Yes, that reading is correct for the current implementation. There are two related concepts here:
But because of this assertion: assertion = !(extensionSettingsNeedForce config.extensions.settings) || config.extensions.force;any non-empty force = settingConfig.force || profile.extensions.force;will always evaluate to So in practice, the per-extension I think the likely fix would be one of these:
The second option would make the existing option meaningful while preserving the acknowledgement requirement. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I'm trying to understand this part of this code:
home-manager/modules/programs/firefox/mkFirefoxModule.nix
Lines 1005 to 1015 in 12fa854
As far as I can tell, to set
profile.extensions.settings.${addonId}.settingsyou also need to setprofile.extensions.forcetotrue, due to this assertion:home-manager/modules/programs/firefox/mkFirefoxModule.nix
Lines 792 to 802 in 12fa854
So the
settingConfig.force || profile.extensions.forceabove will practically always evaluate totrue, regardless of the individual extension'sforcesetting.All reactions