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

Add support for nativeMessagingHosts #34

Open
crabdancing opened this issue Dec 21, 2023 · 3 comments
Open

Add support for nativeMessagingHosts #34

crabdancing opened this issue Dec 21, 2023 · 3 comments

Comments

@crabdancing
Copy link

For example, when I do package.override { nativeMessagingHosts [ pkgs.tridactyl-native ] }, the tridactyl extension still can't find its native messaging host. For drop-in compatibility with the nixpkgs version of Firefox, it would be good to add this.

@Impqxr
Copy link

Impqxr commented Feb 12, 2025

try this

programs.firefox.enable = true;
programs.firefox.package = inputs.firefox.packages.${pkgs.system}.firefox-nightly-bin;
programs.firefox.nativeMessagingHosts.packages = with pkgs; [ tridactyl-native ];

You can override the original firefox as well

@crabdancing
Copy link
Author

That's not a bad idea... but I'm wrapping my Firefox with nixpak, so I'm not really sure how I'd do that.

@Impqxr
Copy link

Impqxr commented Feb 15, 2025

That's not a bad idea... but I'm wrapping my Firefox with nixpak, so I'm not really sure how I'd do that.

Thanks for the reply! For me it works perfectly fine(the only difference is i use plasma browser integration).

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

No branches or pull requests

2 participants