-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make Firefox module ready to work with Gnome extension #31
base: calamares
Are you sure you want to change the base?
Conversation
As a newcomer installing the Gnome ISO, one would expect gnome extension to work right away with the "by default" installed firefox.
Gnome user would expect to be able to use https://addons.mozilla.org/fr/firefox/addon/gnome-shell-integration right after installation time. I even wonder if this firefox extension should not be installed by default during installation time thanks to icicle. If I understand what is written here, https://support.mozilla.org/en-US/kb/deploying-firefox-with-extensions , it would require to download the last version from https://addons.mozilla.org/firefox/downloads/latest/gnome-shell-integration/latest.xpi, rename it to I'd be glad to add that to this PR too but I'm not sure how to do so. I don't know where would be this |
One more advantage is that if a user wants, for example, to install some "special" firefox extension such as
|
if
is not already present in the configuration.nix file after install, it will require much more work (dig in forums, ask and disturb again on matrix room..) for the new comers to reach to his/her goal. |
Finally, I would offer to use this PR to solve some comment issue in the code :
I guess the comment line
|
enable = true; | ||
package = pkgs.firefox; | ||
nativeMessagingHosts.packages = with pkgs; [ | ||
browserpass |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If installing it is a too big change, we could do the same than for Thunderbird, just suggesting it by writting it but commenting it like
nativeMessagingHosts.packages = with pkgs; [
# browserpass
This way, it won't change installation process at all but it will make it very much easier for new comers to find out how to activate it and make Firefox work with Gnome extension and also.
It would also give indication where the user should add thing like
gnomeExtensions.gsconnect
or firefoxpwa
:
nativeMessagingHosts.packages = with pkgs; [
browserpass
gnomeExtensions.gsconnect
firefoxpwa
];
};
It has already been fixed by 972e34b. The messaging host does not need to be enabled manually since it is done by the connector module enabled in GNOME by default:
I would not recommend installing GNOME Shell extensions from extension.gnome.org since some extensions require patching, which is only available in Nixpkgs. |
partly only
If I understand well here NixOS/nixpkgs@50c6895 , it has not been enable in 23.11 but will be in 24.05, isn't it? That would explain why I faced the issue and opened this PR.
If it will be done in 24.05, I would recommend to keep the issue opened till 24.05 get released then.
OK |
Can we close this? If |
As a newcomer installing the Gnome ISO, one would expect gnome extension to work right away with the "by default" installed firefox.
This PR comes after this discussion : NixOS/nixpkgs#300577