Jump to content

Librewolf: Difference between revisions

From Official NixOS Wiki
Cktiel (talk | contribs)
Cktiel (talk | contribs)
No edit summary
Line 18: Line 18:
   programs.librewolf = {
   programs.librewolf = {
     enable = true;
     enable = true;
    # Enable WebGL, cookies and history
     settings = {
     settings = {
       "webgl.disabled" = false;
       "webgl.disabled" = false;
Line 39: Line 38:
   };
   };
};
};
</nowiki>}}
</nowiki>|name=|lang=}}


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

Revision as of 10:11, 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-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.