Firefox: Difference between revisions

imported>Artturin
was messed up | Undo revision 4990 by Vater (talk)
imported>Artturin
revise installation and remove stub tag since the page has been expanded much since 2017
Line 1: Line 1:
{{expansion}}
[https://www.mozilla.org/firefox Firefox] is a graphical web browser developed by Mozilla.
[https://www.mozilla.org/firefox Firefox] is a graphical web browser developed by Mozilla.


==Installation==
== Installation ==
Nix offers multiple ways to install Firefox.


===Using Nix===
=== NixOS ===
Firefox may be normally installed by using the <code>firefox</code> package.
 
<syntaxhighlight lang="nix">
environment.systemPackages = with pkgs; [ firefox ]
</syntaxhighlight>
 
=== Home Manager ===
 
[[Home Manager]] provides options to manage {{PAGENAME}}. You can find them below the [https://rycee.gitlab.io/home-manager/options.html#opt-programs.firefox.enable the Configuration Option ''programs.firefox.enable'' entry in the Home Manager Manual].


===Using Home Manager===
Nix's [[Home Manager]] provides a configuration option for managing Firefox profiles. To allow Home Manager to manage Firefox, you should set the following option in your <code>home.nix</code>:
<syntaxhighlight lang="nix">
<syntaxhighlight lang="nix">
programs.firefox.enable = true;
programs.firefox.enable = true;
</syntaxhighlight>
</syntaxhighlight>


For more information on managing Firefox with Home Manager, please refer to [https://rycee.gitlab.io/home-manager/options.html#opt-programs.firefox.enable Home Manager's manual's Firefox section ].
or
 
<syntaxhighlight lang="nix">
home.packages = with pkgs; [ firefox ]
</syntaxhighlight>
 
if you do not need the home-manager options
 
=== Non-NixOS ===
[https://nixos.org/manual/nixpkgs/stable/#sec-declarative-package-management declarative package management on non-nixos]


==Other Editions==
==Other Editions==