Firefox: Difference between revisions
imported>Pickfire m →Enabling Plasma Browser Integration: mention this is already available in unstable |
imported>Artturin No edit summary |
||
| Line 29: | Line 29: | ||
===Mozilla Distributed Binaries=== | ===Mozilla Distributed Binaries=== | ||
Mozilla themselves provide official pre-built Firefox binaries. It is possible to install these packages through Nix by using the <code>-bin</code> suffix with the package. So you'd use <code>firefox-bin</code> instead of the normal package. This will download the binary from Mozilla's servers and install it on your system. | Mozilla themselves provide official pre-built Firefox binaries. It is possible to install these packages through Nix by using the <code>-bin</code> suffix with the package. So you'd use <code>firefox-bin</code> instead of the normal package. This will download the binary from Mozilla's servers and install it on your system. | ||
===Firefox nightly=== | |||
Nightly builds are daily builds of firefox from the mozilla-central repository | |||
To use it | |||
<syntaxhighlight lang="nix"> | |||
nixpkgs.overlays = | |||
let | |||
# Change this to a rev sha to pin | |||
moz-rev = "master"; | |||
moz-url = builtins.fetchTarball { url = "https://github.com/mozilla/nixpkgs-mozilla/archive/${moz-rev}.tar.gz";}; | |||
nightlyOverlay = (import "${moz-url}/firefox-overlay.nix"); | |||
in [ | |||
nightlyOverlay | |||
]; | |||
environment.systemPackages = with pkgs; [ latest.firefox-nightly-bin ]; | |||
</syntaxhighlight> | |||
== FAQ == | == FAQ == | ||