<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.nixos.org/w/index.php?action=history&amp;feed=atom&amp;title=Firefox%2Fen</id>
	<title>Firefox/en - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.nixos.org/w/index.php?action=history&amp;feed=atom&amp;title=Firefox%2Fen"/>
	<link rel="alternate" type="text/html" href="https://wiki.nixos.org/w/index.php?title=Firefox/en&amp;action=history"/>
	<updated>2026-06-19T13:05:28Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://wiki.nixos.org/w/index.php?title=Firefox/en&amp;diff=30489&amp;oldid=prev</id>
		<title>FuzzyBot: Updating to match new version of source page</title>
		<link rel="alternate" type="text/html" href="https://wiki.nixos.org/w/index.php?title=Firefox/en&amp;diff=30489&amp;oldid=prev"/>
		<updated>2026-03-07T19:39:07Z</updated>

		<summary type="html">&lt;p&gt;Updating to match new version of source page&lt;/p&gt;
&lt;a href=&quot;https://wiki.nixos.org/w/index.php?title=Firefox/en&amp;amp;diff=30489&amp;amp;oldid=16795&quot;&gt;Show changes&lt;/a&gt;</summary>
		<author><name>FuzzyBot</name></author>
	</entry>
	<entry>
		<id>https://wiki.nixos.org/w/index.php?title=Firefox/en&amp;diff=16795&amp;oldid=prev</id>
		<title>FuzzyBot: Updating to match new version of source page</title>
		<link rel="alternate" type="text/html" href="https://wiki.nixos.org/w/index.php?title=Firefox/en&amp;diff=16795&amp;oldid=prev"/>
		<updated>2024-08-20T05:52:37Z</updated>

		<summary type="html">&lt;p&gt;Updating to match new version of source page&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 05:52, 20 August 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l143&quot;&gt;Line 143:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 143:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* add Pipewire support to Firefox:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* add Pipewire support to Firefox:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;syntaxhighlight lang=&amp;quot;nix&amp;quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;syntaxhighlight lang=&amp;quot;nix&amp;quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;# when programs.firefox.enable == true&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;programs.firefox.wrapperConfig = {&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;  pipewireSupport = true;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;};&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;# or, alternatively&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;environment.systemPackages = [&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;environment.systemPackages = [&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   # Replace this&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   # Replace this&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>FuzzyBot</name></author>
	</entry>
	<entry>
		<id>https://wiki.nixos.org/w/index.php?title=Firefox/en&amp;diff=16293&amp;oldid=prev</id>
		<title>FuzzyBot: Updating to match new version of source page</title>
		<link rel="alternate" type="text/html" href="https://wiki.nixos.org/w/index.php?title=Firefox/en&amp;diff=16293&amp;oldid=prev"/>
		<updated>2024-08-05T12:30:27Z</updated>

		<summary type="html">&lt;p&gt;Updating to match new version of source page&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 12:30, 5 August 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l182&quot;&gt;Line 182:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 182:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Ensure that the environment variables are correctly set for the user systemd units, e.g.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Ensure that the environment variables are correctly set for the user systemd units, e.g.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;syntaxhighlight lang=&quot;bash&quot;&amp;gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Sway users might achieve this by adding the following to their Sway config file&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Sway users might achieve this by adding the following to their Sway config file&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# This ensures all user units started after the command (not those already running) set the variables&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# This ensures all user units started after the command (not those already running) set the variables&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;syntaxhighlight lang=&quot;bash&quot;&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;exec systemctl --user import-environment&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;exec systemctl --user import-environment&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key mediawiki:diff:1.41:old-16286:rev-16293:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>FuzzyBot</name></author>
	</entry>
	<entry>
		<id>https://wiki.nixos.org/w/index.php?title=Firefox/en&amp;diff=16286&amp;oldid=prev</id>
		<title>FuzzyBot: Updating to match new version of source page</title>
		<link rel="alternate" type="text/html" href="https://wiki.nixos.org/w/index.php?title=Firefox/en&amp;diff=16286&amp;oldid=prev"/>
		<updated>2024-08-05T12:25:55Z</updated>

		<summary type="html">&lt;p&gt;Updating to match new version of source page&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[https://www.mozilla.org/firefox Firefox] is a graphical web browser developed by Mozilla. It can be used with a [[Firefox Sync Server]].&lt;br /&gt;
== Installation ==&lt;br /&gt;
Set &amp;lt;code&amp;gt;programs.firefox.enable&amp;lt;/code&amp;gt; to true in your system or [[Home Manager]] configuration.&lt;br /&gt;
Keep in mind that the NixOS and Home Manager modules have different options, so choose accordingly.&lt;br /&gt;
== Firefox Variants ==&lt;br /&gt;
There are several Firefox variants that you can choose to install. To choose a variant, set &amp;lt;code&amp;gt;programs.firefox.package&amp;lt;/code&amp;gt; accordingly.&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039;&amp;#039; The packages for the variants listed below are installed &amp;#039;&amp;#039;instead&amp;#039;&amp;#039; of the normal &amp;lt;code&amp;gt;firefox&amp;lt;/code&amp;gt; package. Thus, you&amp;#039;ll have to choose one among these options.&lt;br /&gt;
=== Variant: Official Binaries ===&lt;br /&gt;
Mozilla provides official pre-built Firefox binaries. This is the &amp;lt;code&amp;gt;firefox-bin&amp;lt;/code&amp;gt; package and will be downloaded directly from the Mozilla servers.&lt;br /&gt;
=== Variant: ESR ===&lt;br /&gt;
&amp;lt;code&amp;gt;firefox-esr&amp;lt;/code&amp;gt; is the &amp;#039;&amp;#039;&amp;#039;E&amp;#039;&amp;#039;&amp;#039;xtended &amp;#039;&amp;#039;&amp;#039;S&amp;#039;&amp;#039;&amp;#039;upport &amp;#039;&amp;#039;&amp;#039;R&amp;#039;&amp;#039;&amp;#039;elease of Firefox provided by Mozilla, which receives only security updates and a more relaxed cadence of feature implementation.&lt;br /&gt;
=== Variant: Nightly ===&lt;br /&gt;
Nightly builds are daily builds of Firefox from the central Mozilla repository.&lt;br /&gt;
==== Reproducible ====&lt;br /&gt;
This method uses flakes to pull in nightly versions of Firefox in a reproducible way, and is recommended for use. If you don&amp;#039;t want to use flakes, check out the next section.&lt;br /&gt;
&lt;br /&gt;
First, add the following inputs to your flake:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;nix&amp;quot;&amp;gt;&lt;br /&gt;
inputs = {&lt;br /&gt;
  firefox.url = &amp;quot;github:nix-community/flake-firefox-nightly&amp;quot;;&lt;br /&gt;
  firefox.inputs.nixpkgs.follows = &amp;quot;nixpkgs&amp;quot;;&lt;br /&gt;
};&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Then, using the [[Flakes#Using_nix_flakes_with_NixOS|specialArgs]] attribute to pass flake inputs to external configuration files, add the nightly package to your system:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;nix&amp;quot;&amp;gt;&lt;br /&gt;
{ pkgs, inputs, config, ... }:&lt;br /&gt;
{&lt;br /&gt;
  environment.systemPackages = [&lt;br /&gt;
    inputs.firefox.packages.${pkgs.system}.firefox-nightly-bin&lt;br /&gt;
  ];&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
The downside of using this method is that you&amp;#039;ll have to update the flake input before you can get a new nightly version, which also means that you might miss new builds since the flake lags behind the nightly release.&lt;br /&gt;
==== Non-reproducible (Impure) ====&lt;br /&gt;
Using this method is bad for reproducibility since it fetches resources from non-pinned URLs, but it also means you always get the latest nightly version when you build your system.&lt;br /&gt;
{{tip|1=If you don&amp;#039;t want to use flakes but you still want to reproducibly install Firefox nightly, you might want to use this method with [https://github.com/nmattia/niv niv].}}&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;nix&amp;quot;&amp;gt;&lt;br /&gt;
nixpkgs.overlays =&lt;br /&gt;
  let&lt;br /&gt;
    # Change this to a rev sha to pin&lt;br /&gt;
    moz-rev = &amp;quot;master&amp;quot;;&lt;br /&gt;
    moz-url = builtins.fetchTarball { url = &amp;quot;https://github.com/mozilla/nixpkgs-mozilla/archive/${moz-rev}.tar.gz&amp;quot;;};&lt;br /&gt;
    nightlyOverlay = (import &amp;quot;${moz-url}/firefox-overlay.nix&amp;quot;);&lt;br /&gt;
  in [&lt;br /&gt;
    nightlyOverlay&lt;br /&gt;
  ];&lt;br /&gt;
programs.firefox.package = pkgs.latest.firefox-nightly-bin;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Once you&amp;#039;ve added the overlay, you&amp;#039;ll need to pass the &amp;lt;code&amp;gt;--impure&amp;lt;/code&amp;gt; option to nix commands. For example, in order to build and activate your configuration, you&amp;#039;ll have to run:&lt;br /&gt;
&amp;lt;syntaxHighlight lang=&amp;quot;console&amp;quot;&amp;gt;&lt;br /&gt;
$ nixos-rebuild switch --impure&lt;br /&gt;
&amp;lt;/syntaxHighlight&amp;gt;&lt;br /&gt;
== Customizing with [[Home Manager]] ==&lt;br /&gt;
Home manager allows more customization for firefox. Such as  extensions, search engines, bookmarks, [https://www.userchrome.org/ userChrome] and [https://kb.mozillazine.org/User.js_file user.js]. The example below shows a basic config defining Nix packages &amp;amp; options as a search engine.&lt;br /&gt;
[https://nix-community.github.io/home-manager/options.xhtml More options are available on Home Manager&amp;#039;s site]&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;nix&amp;quot;&amp;gt;&lt;br /&gt;
home-manager.users.username = {&lt;br /&gt;
  programs.firefox = {&lt;br /&gt;
    enable = true;&lt;br /&gt;
    profiles = {&lt;br /&gt;
      &amp;quot;user&amp;quot; = {&lt;br /&gt;
        id = 0;&lt;br /&gt;
        isDefault = true;&lt;br /&gt;
&lt;br /&gt;
        search.engines = {&lt;br /&gt;
          &amp;quot;Nix Packages&amp;quot; = {&lt;br /&gt;
            urls = [{&lt;br /&gt;
              template = &amp;quot;https://search.nixos.org/packages&amp;quot;;&lt;br /&gt;
              params = [&lt;br /&gt;
                { name = &amp;quot;query&amp;quot;; value = &amp;quot;{searchTerms}&amp;quot;; }&lt;br /&gt;
              ];&lt;br /&gt;
            }];&lt;br /&gt;
            icon = &amp;quot;${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg&amp;quot;;&lt;br /&gt;
            definedAliases = [ &amp;quot;@np&amp;quot; ];&lt;br /&gt;
          };&lt;br /&gt;
          &amp;quot;Nix Options&amp;quot; = {&lt;br /&gt;
            definedAliases = [ &amp;quot;@no&amp;quot; ];&lt;br /&gt;
            urls = [{&lt;br /&gt;
              template = &amp;quot;https://search.nixos.org/options&amp;quot;;&lt;br /&gt;
              params = [&lt;br /&gt;
                { name = &amp;quot;query&amp;quot;; value = &amp;quot;{searchTerms}&amp;quot;; }&lt;br /&gt;
              ];&lt;br /&gt;
            }];&lt;br /&gt;
          };&lt;br /&gt;
        };&lt;br /&gt;
      };&lt;br /&gt;
    };&lt;br /&gt;
  };&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
== FAQ ==&lt;br /&gt;
=== How do I use ALSA with Firefox instead of PulseAudio? ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;nix&amp;quot;&amp;gt;&lt;br /&gt;
programs.firefox.package = (pkgs.wrapFirefox.override { libpulseaudio = pkgs.libpressureaudio; }) pkgs.firefox-unwrapped { };&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
== Tips ==&lt;br /&gt;
=== Enabling&lt;br /&gt;
[https://community.kde.org/Plasma/Browser_Integration#How_to_install Plasma Browser Integration] ===&lt;br /&gt;
1. Add the following line to your &amp;lt;code&amp;gt;configuration.nix&amp;lt;/code&amp;gt; (note that [[KDE#Installation|enabling Plasma]] automatically does this):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;nix&amp;quot;&amp;gt;&lt;br /&gt;
programs.firefox.nativeMessagingHosts.packages = [ pkgs.plasma5Packages.plasma-browser-integration ];&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
2. Install [https://addons.mozilla.org/en-US/firefox/addon/plasma-integration/ KDE&amp;#039;s Firefox extension].&lt;br /&gt;
=== Use KDE file picker ===&lt;br /&gt;
You must instruct Firefox to use the file picker offered by the XDG Desktop Portal framework. This setting can be found in Firefox&amp;#039;s &amp;#039;&amp;#039;about:config&amp;#039;&amp;#039; as &amp;#039;&amp;#039;widget.use-xdg-desktop-portal.file-picker&amp;#039;&amp;#039;. The value 1 means &amp;quot;always&amp;quot;. To set it using NixOS, add to &amp;#039;&amp;lt;code&amp;gt;configuration.nix&amp;#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;nix&amp;quot;&amp;gt;&lt;br /&gt;
  # Make Firefox use the KDE file picker.&lt;br /&gt;
  # Preferences source: https://wiki.archlinux.org/title/firefox#KDE_integration&lt;br /&gt;
  programs.firefox = {&lt;br /&gt;
    enable = true;&lt;br /&gt;
    preferences = {&lt;br /&gt;
      &amp;quot;widget.use-xdg-desktop-portal.file-picker&amp;quot; = 1;&lt;br /&gt;
    };&lt;br /&gt;
  };&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
=== Use xinput2 ===&lt;br /&gt;
You can make Firefox use xinput2 by setting the &amp;lt;code&amp;gt;MOZ_USE_XINPUT2&amp;lt;/code&amp;gt; environment variable. This improves touchscreen support and enables additional touchpad gestures. It also enables smooth scrolling as opposed to the stepped scrolling that Firefox has by default. To do this, put the following in your config: &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;nix&amp;quot;&amp;gt;&lt;br /&gt;
environment.sessionVariables = {&lt;br /&gt;
  MOZ_USE_XINPUT2 = &amp;quot;1&amp;quot;;&lt;br /&gt;
};&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
== Troubleshooting==&lt;br /&gt;
=== If you can&amp;#039;t start the browser because of a configuration error === &lt;br /&gt;
&lt;br /&gt;
For example: &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
firefox&lt;br /&gt;
1554035168269	Marionette	FATAL	XML parsing error: undefined entity&lt;br /&gt;
Location: chrome://browser/content/browser.xul&lt;br /&gt;
Line 2526, column 13:            &amp;lt;toolbarbutton id=&amp;quot;tracking-protection-preferences-button&amp;quot;&lt;br /&gt;
JavaScript error: resource:///modules/aboutpages/AboutPrivateBrowsingHandler.jsm, line 28: TypeError: this.pageListener is undefined&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
An easy way to get away from this is to start firefox with the &amp;lt;code&amp;gt;firefox -safe-mode&amp;lt;/code&amp;gt; command. Then you can troubleshoot your actual problem or you can call your luck by calling the refresh option (a special button will appear when firefox starts in this mode). This will reset your configuration to a sane state and you will be usually able to start the browser again, but you will lose most of your customization. &lt;br /&gt;
=== &amp;lt;code&amp;gt;nativeMessagingHosts&amp;lt;/code&amp;gt; doesn&amp;#039;t work ===&lt;br /&gt;
Such as &amp;lt;code&amp;gt;enablePlasmaBrowserIntegration&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;enableGnomeExtensions&amp;lt;/code&amp;gt;, and &amp;lt;code&amp;gt;enableBrowserpass&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
They do not work with the &amp;lt;code&amp;gt;firefox-bin&amp;lt;/code&amp;gt; derivation&amp;lt;ref&amp;gt;https://github.com/NixOS/nixpkgs/issues/47340#issuecomment-476368401&amp;lt;/ref&amp;gt; or with &amp;lt;code&amp;gt;firefox&amp;lt;/code&amp;gt; installed via &amp;lt;code&amp;gt;nix-env&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;hr /&amp;gt;&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
=== Screen Sharing under Wayland ===&lt;br /&gt;
When using Firefox with Wayland, screen sharing options might be limited and require additional configuration (exact capabilities vary with different compositors).&lt;br /&gt;
* add Pipewire support to Firefox:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;nix&amp;quot;&amp;gt;&lt;br /&gt;
environment.systemPackages = [&lt;br /&gt;
  # Replace this&lt;br /&gt;
  pkgs.firefox&lt;br /&gt;
  # With this&lt;br /&gt;
  (pkgs.wrapFirefox (pkgs.firefox-unwrapped.override { pipewireSupport = true;}) {})&lt;br /&gt;
];&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* Enable [https://pipewire.org/ PipeWire]&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;nix&amp;quot;&amp;gt;&lt;br /&gt;
services.pipewire.enable = true;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* Enable [https://github.com/flatpak/xdg-desktop-portal/blob/master/README.md xdg desktop integration]:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;nix&amp;quot;&amp;gt;&lt;br /&gt;
xdg = {&lt;br /&gt;
  portal = {&lt;br /&gt;
    enable = true;&lt;br /&gt;
    extraPortals = with pkgs; [&lt;br /&gt;
      xdg-desktop-portal-wlr&lt;br /&gt;
      xdg-desktop-portal-gtk&lt;br /&gt;
    ];&lt;br /&gt;
  };&lt;br /&gt;
};&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* Set environment variables to hint Firefox to use Wayland features. E.g.:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;nix&amp;quot;&amp;gt;&lt;br /&gt;
# Classical NixOS setup&lt;br /&gt;
environment.sessionVariables = {&lt;br /&gt;
  # only needed for Sway&lt;br /&gt;
  XDG_CURRENT_DESKTOP = &amp;quot;sway&amp;quot;; &lt;br /&gt;
};&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;nix&amp;quot;&amp;gt;&lt;br /&gt;
# Home Manager setup&lt;br /&gt;
home.sessionVariables = {&lt;br /&gt;
  # only needed for Sway&lt;br /&gt;
  XDG_CURRENT_DESKTOP = &amp;quot;sway&amp;quot;; &lt;br /&gt;
};&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* Ensure that the environment variables are correctly set for the user systemd units, e.g.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
# Sway users might achieve this by adding the following to their Sway config file&lt;br /&gt;
# This ensures all user units started after the command (not those already running) set the variables&lt;br /&gt;
exec systemctl --user import-environment&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Cookbook]]&lt;br /&gt;
[[Category:Applications]]&lt;/div&gt;</summary>
		<author><name>FuzzyBot</name></author>
	</entry>
</feed>