Skip to content
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

Adding extensions to thunderbird #5654

Open
Mikilio opened this issue Jul 20, 2024 · 2 comments
Open

Adding extensions to thunderbird #5654

Mikilio opened this issue Jul 20, 2024 · 2 comments
Assignees

Comments

@Mikilio
Copy link
Contributor

Mikilio commented Jul 20, 2024

Description

Thunderbirds extension mechanism is the same as Firefox, since Mozilla is working on it again (or since forever I don't really know) allowing to add extensions via nix would be nice.

To add this feature, It would be nice to add thunderbird extensions to @rycee 's NUR, because it already includes all the tools to add these easily by name if they are in the Mozilla's index.

A difference would be that thunderbird doesn't have a sync functionality (at least not yet). In Firefox, I did not care much about configuring extensions because I could store the settings in my Mozilla account, but that's not the case here. It's definitely not urgent, but maybe something to think about.

@alois31
Copy link
Contributor

alois31 commented Jul 22, 2024

The functionality as implemented in the Firefox module is quite problematic (#5652), and the issue is even worse for Thunderbird since the permissions required for certain actions seem to be less static there (in fact this is exactly how the issue was first noticed to begin with). If you are fine with the same extensions applying to all profiles and a semi-declarative approach, you can use policies to install extensions like this:

programs.thunderbird.package = pkgs.thunderbird.override {
  extraPolicies.ExtensionSettings = {
    "[id of the extension here]" = {
      installation_mode = "normal_installed";
      install_url = "[URL to the XPI file here]";
    };
  };
};

@Mikilio
Copy link
Contributor Author

Mikilio commented Jul 22, 2024

Thank you for the Tipp. Do you think there should be an issue to track declarative Mozilla stuff in general?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants