{
  pkgsUnstable,
  inputs,
  pkgs,
  ...
}: let
  nur = inputs.nur.legacyPackages.${pkgs.system};
  extensions = nur.repos.rycee.firefox-addons;
in {
  programs.firefox = {
    enable = true;
    package = pkgsUnstable.firefox;
  };

  fireproof.home-manager = {
    programs.firefox = {
      enable = true;
      package = pkgsUnstable.firefox;
      profiles.default = {
        extensions = with extensions; [
          # Privacy
          ublock-origin
          clearurls
          libredirect

          # Security
          bitwarden

          # Media
          dearrow
          sponsorblock

          # Search
          kagi-search

          # Productivity
          new-tab-override

          # Social
          reddit-enhancement-suite
        ];

        settings = {
          "browser.startup.homepage" = "https://flame.nickolaj.com";
        };
      };
    };
  };
}
