MyNixOS website logo

The LibreWolf package to use. If state version ≥ 19.09 then this should be a wrapped LibreWolf package. For earlier state versions it should be an unwrapped LibreWolf package. Set to null to disable installing LibreWolf.

Note that by default LibreWolf will attempt to update the profiles.ini configuration file on startup which will fail if Home Manager is managing it. If you wish to use an unwrapped LibreWolf (e.g. from outside Nix), consider setting the environment variable MOZ_LEGACY_PROFILES=1 to disable attempts to write to the file. For macOS specifically, this should be done via /bin/launchctl setenv MOZ_LEGACY_PROFILES 1 to ensure it is set when LibreWolf is launched through the Finder or Dock.

Declarations
Type
null or package
Default
pkgs.librewolf
Example
pkgs.librewolf.override {
  # See nixpkgs' firefox/wrapper.nix to check which options you can use
  nativeMessagingHosts = [
    # Gnome shell native connector
    pkgs.gnome-browser-connector
    # Tridactyl native connector
    pkgs.tridactyl-native
  ];
}