Jump to content

Librewolf: Difference between revisions

From Official NixOS Wiki
Cktiel (talk | contribs)
Cktiel (talk | contribs)
No edit summary
 
(One intermediate revision by the same user not shown)
Line 14: 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 39: Line 38:
   };
   };
};
};
</nowiki>}}
</nowiki>|name=home.nix|lang=nix}}


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.  

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.