Jump to content

Librewolf: Difference between revisions

From Official NixOS Wiki
O5-J (talk | contribs)
m Add reminder about LibreWolf exclusive preferences not being appliable using policies, renamed the page using LibreWolf's correct capitalisation.
Cktiel (talk | contribs)
Line 25: Line 25:
       "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";
      };
     };
     };
   };
   };
Line 30: Line 41:
</nowiki>}}
</nowiki>}}


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.
This example configures LibreWolf to enable WebGL, disable resistFingerprinting and install uBlock Origin and Noscript.  


LibreWolf exclusive preferences are not possible to apply using <code>programs.librewolf.policies</code> policies.
LibreWolf exclusive preferences are not possible to apply using <code>programs.librewolf.policies</code> policies.

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

❄︎ /etc/nixos/configuration.nix
home-manager.users.myuser = {
  programs.librewolf = {
    enable = true;
    # Enable WebGL, cookies and history
    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.

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