{
  config,
  pkgs,
  inputs,
  ...
}:
{
  programs.firefox = {
    enable = true;
    # enableGnomeExtensions = false;
    # languagePacks = [ "en-US" ];
    # profiles.default = {
    #   containers = {
    #     ai = {
    #       color = "pink";
    #       id = 1;
    #       icon = "chill";
    #       name = "AI";
    #     };
    #     cafb = {
    #       color = "green";
    #       id = 2;
    #       icon = "cart";
    #       name = "CAFB";
    #     };
    #     colab = {
    #       color = "turquoise";
    #       id = 3;
    #       icon = "circle";
    #       name = "Colab";
    #     };
    #     personal = {
    #       color = "turquoise";
    #       id = 4;
    #       icon = "fingerprint";
    #       name = "Personal";
    #     };
    #     work = {
    #       color = "blue";
    #       id = 5;
    #       icon = "briefcase";
    #       name = "Work";
    #     };
    #   };
    #   containersForce = true;
    # isDefault = true;
    # search = {
    #   default = "DuckDuckGo";
    #   engines = {
    #     "My Nixos" = {
    #       urls = [{
    #         template = "https://mynixos.com/search";
    #         params = [{ name = "q"; value = "{searchTerms}"; }];
    #       }];
    #       icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
    #       definedAliases = [ "@mn" ];
    #     };

    #     "Nix Packages" = {
    #       urls = [{
    #         template = "https://search.nixos.org/packages";
    #         params = [
    #           { name = "type"; value = "packages"; }
    #           { name = "query"; value = "{searchTerms}"; }
    #         ];
    #       }];
    #       icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
    #       definedAliases = [ "@np" ];
    #     };

    #     "NixOS Wiki" = {
    #       urls = [{
    #         template = "https://wiki.nixos.org/w/index.php";
    #         params = [
    #           { name = "fulltext"; value = "1"; }
    #           { name = "search"; value = "{searchTerms}"; }
    #         ];
    #       }];
    #       icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
    #       definedAliases = [ "@nw" ];
    #     };
    #     "Amazon.com".metaData.hidden = true;  # hide the Amazon search engine
    #     "eBay".metaData.hidden = true;        # hide the eBay search engine
    #     "Bing".metaData.hidden = true;       # hide the Bing search engine
    #     "Google".metaData.alias = "@g"; # builtin engines only support specifying one additional alias
    #   };
    #   privateDefault = "DuckDuckGo";
    #   force = true;
    # };
    # settings = {
    #   "browser.search.region" = "US"; # Set the search region to the US
    #   "browser.search.isUS" = true; # Set the search region to the US

    #   "media.videocontrols.picture-in-picture.enabled" = true;
    #   "media.videocontrols.picture-in-picture.enable-when-switching-tabs.enabled" = true;

    #   "browser.startup.homepage" = "about:blank"; # Set the homepage to a blank page

    #   "datareporting.healthreport.service.enabled" = false; # Disable the health report
    #   "datareporting.healthreport.uploadEnabled" = false; # Disable the health report upload
    #   "datareporting.policy.dataSubmissionEnabled" = false; # Disable data submission
    #   "toolkit.telemetry.enabled" = false; # Disable telemetry

    #   "browser.ml.chat.sidebar" = true; # Enable the chat sidebar
    #   "browser.ml.chat.enabled" = true; # Enable chat
    #   "browser.ml.chat.provider" = "https://gemini.google.com"; # Set the chat provider

    #   "privacy.donottrackheader.enabled" = true; # Send a "Do Not Track" header with your browsing traffic
    #   "privacy.globalprivacycontrol.enabled" = true; # Enable Global Privacy Control
    #   "privacy.sanitize.sanitizeOnShutdown" = true; # Clear history when Firefox closes
    #   "privacy.sanitize.pending" = "[{\"id\":\"shutdown\",\"itemsToClear\":[\"cache\",\"cookiesAndStorage\"],\"options\":{}}]"; # Clear history when Firefox closes
    # };
    # };
  };
}