Firefox: Difference between revisions
mNo edit summary |
m Updated messaging hosts from pkgs.plasma-browser-integration to pkgs.kdePackages.plasma-browser-integration |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 279: | Line 279: | ||
# In configuration.nix, assuming use of specialArgs | # In configuration.nix, assuming use of specialArgs | ||
environment.systemPackages = [ | environment.systemPackages = [ | ||
inputs.firefox.packages.${pkgs.system}.firefox-nightly-bin | inputs.firefox.packages.${pkgs.stdenv.hostPlatform.system}.firefox-nightly-bin | ||
]; | ]; | ||
}} | }} | ||
| Line 303: | Line 303: | ||
<translate> | <translate> | ||
== Tips and Tricks == <!--T:26--> | == Tips and Tricks == <!--T:26--> | ||
==== Force XWayland (X11) instead of Wayland ==== <!--T:29--> | |||
</translate> | </translate> | ||
<translate> | <translate> | ||
<!--T:30--> | |||
Firefox defaults to native Wayland when running under a Wayland compositor. To force it to use XWayland (X11) instead: | |||
</translate> | </translate> | ||
{{code|lang=nix|line=no|1=environment.sessionVariables.MOZ_ENABLE_WAYLAND = "0";}} | |||
<translate> | <translate> | ||
<!--T:30a--> | |||
This is useful when troubleshooting Wayland-specific issues or when certain features work better under X11. | |||
</translate> | </translate> | ||
<translate> | <translate> | ||
| Line 339: | Line 332: | ||
1. Add the native messaging host package to your configuration: | 1. Add the native messaging host package to your configuration: | ||
</translate> | </translate> | ||
{{code|lang=nix|line=no|1=programs.firefox.nativeMessagingHosts.packages = [ pkgs.plasma-browser-integration ];}} | {{code|lang=nix|line=no|1=programs.firefox.nativeMessagingHosts.packages = [ pkgs.kdePackages.plasma-browser-integration ];}} | ||
<translate> | <translate> | ||
<!--T:35--> | <!--T:35--> | ||