{ configuration ? import ./firefox-configuration.nix }: let pkgs = import (builtins.fetchTarball { # 2020-06-15 nixos-unstable, pinned to make sure this project still works without maintenance url = "https://github.com/NixOS/nixpkgs/archive/0a146054bdf6f70f66de4426f84c9358521be31e.tar.gz"; sha256 = "154ypjfhy9qqa0ww6xi7d8280h85kffqaqf6b6idymizga9ckjcd"; }) { config = {}; overlays = []; }; ff = pkgs.callPackage nix/lib.nix {}; eval = ff.eval configuration; in rec { inherit (eval) options config; inherit (eval.config) policies preferences; bundle = ff.bundle { inherit policies preferences; patchOmniJaCommand = config.omnija.browser.patchCommand; }; launcher = ff.launcher bundle; export = ff.export { inherit policies preferences; # feel free to change this selfPath = "/opt/firefox"; }; manual = ff.docs options; }