Jump to content

Librewolf: Difference between revisions

From Official NixOS Wiki
Klinger (talk | contribs)
Cktiel (talk | contribs)
No edit summary
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{DISPLAYTITLE:LibreWolf}}
[https://librewolf.net LibreWolf] is a web browser and fork of Firefox with an emphasis on privacy and security. It is a custom and independent version of Firefox that aims to increase protection against tracking and fingerprinting techniques, while also removing all the telemetry, data collection and annoyances.
[https://librewolf.net LibreWolf] is a web browser and fork of Firefox with an emphasis on privacy and security. It is a custom and independent version of Firefox that aims to increase protection against tracking and fingerprinting techniques, while also removing all the telemetry, data collection and annoyances.


Line 13: Line 14:
It is possible to configure certain presets of LibreWolf using the [[Home Manager]] module.
It is possible to configure certain presets of LibreWolf using the [[Home Manager]] module.


{{file|/etc/nixos/configuration.nix|nix|<nowiki>
{{file|3=<nowiki>
home-manager.users.myuser = {
home-manager.users.myuser = {
   programs.librewolf = {
   programs.librewolf = {
     enable = true;
     enable = true;
    # Enable WebGL, cookies and history
     settings = {
     settings = {
       "webgl.disabled" = false;
       "webgl.disabled" = false;
Line 24: Line 24:
       "privacy.clearOnShutdown.cookies" = false;
       "privacy.clearOnShutdown.cookies" = false;
       "network.cookie.lifetimePolicy" = 0;
       "network.cookie.lifetimePolicy" = 0;
    };
    policies = {
      ExtensionSettings = {
        "uBlock0@raymondhill.net" = {
          install_url = "https://addons.mozilla.org/firefox/downloads/latest/ublock-origin/latest.xpi";
          installation_mode = "force_installed";
      };
        "{73a6fe31-595d-460b-a920-fcc0f8843232}" = {
          install_url = "https://addons.mozilla.org/firefox/downloads/latest/noscript/latest.xpi";
          installation_mode = "force_installed";
      };
     };
     };
   };
   };
};
};
</nowiki>}}
</nowiki>|name=home.nix|lang=nix}}
 
This example configures LibreWolf to enable WebGL, disable resistFingerprinting and install uBlock Origin and Noscript.
 
For more advanced configuration, refer to the [[Firefox]] page.


This example configures LibreWolf to enable WebGL, remember cookies and history by disabling privacy and security defaults. This compromises the privacy concept of LibreWolf and is therefore not recommended to use.
LibreWolf exclusive preferences are not possible to apply using <code>programs.librewolf.policies</code> policies.


[[Category:Applications]]
[[Category:Applications]]
[[Category:Privacy]]
[[Category:Privacy]]
[[Category:Web Browser]]
[[Category:Web Browser]]

Latest revision as of 10:12, 6 November 2026

LibreWolf is a web browser and fork of Firefox with an emphasis on privacy and security. It is a custom and independent version of Firefox that aims to increase protection against tracking and fingerprinting techniques, while also removing all the telemetry, data collection and annoyances.

Installation

To install LibreWolf system wide add the following line to your system configuration

❄︎ /etc/nixos/configuration.nix
environment.systemPackages = [ pkgs.librewolf ];

Configuration

It is possible to configure certain presets of LibreWolf using the Home Manager module.

❄︎ home.nix
home-manager.users.myuser = {
  programs.librewolf = {
    enable = true;
    settings = {
      "webgl.disabled" = false;
      "privacy.resistFingerprinting" = false;
      "privacy.clearOnShutdown.history" = false;
      "privacy.clearOnShutdown.cookies" = false;
      "network.cookie.lifetimePolicy" = 0;
    };
    policies = {
      ExtensionSettings = {
        "uBlock0@raymondhill.net" = {
          install_url = "https://addons.mozilla.org/firefox/downloads/latest/ublock-origin/latest.xpi";
          installation_mode = "force_installed";
      };
        "{73a6fe31-595d-460b-a920-fcc0f8843232}" = {
          install_url = "https://addons.mozilla.org/firefox/downloads/latest/noscript/latest.xpi";
          installation_mode = "force_installed";
      };
    };
  };
};

This example configures LibreWolf to enable WebGL, disable resistFingerprinting and install uBlock Origin and Noscript.

For more advanced configuration, refer to the Firefox page.

LibreWolf exclusive preferences are not possible to apply using programs.librewolf.policies policies.