You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As far as I can tell, to set profile.extensions.settings.${addonId}.settings you also need to set profile.extensions.force to true, due to this assertion:
Using '${lib.showOptionprofilePath}.extensions.settings' will override all
previous extensions settings. Enable
'${lib.showOptionprofilePath}.extensions.force' to acknowledge this.
'';
}
]
So the settingConfig.force || profile.extensions.force above will practically always evaluate to true, regardless of the individual extension's force setting.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
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.Beta Was this translation helpful? Give feedback.
All reactions