{ pkgs, ... }:
{
  programs.floorp = {
    enable = true;
    profiles.blue = {
      isDefault = true;
      id = 0;
      extensions.packages = with pkgs.nur.repos.rycee.firefox-addons; [
        indie-wiki-buddy
        bitwarden
        darkreader
        ff2mpv
        i-dont-care-about-cookies
        ublock-origin
        unpaywall
        dearrow
        sponsorblock
        return-youtube-dislikes
        clearurls
        youtube-shorts-block
        youtube-high-definition
        shinigami-eyes
      ];
      search = {
        #       default = "ddg"; # Set search engine to DuckDuckGo
        #       force = true; # Prevents annoying error when rebuilding
      };
      settings = {
        "browser.search.region" = "GB";
        "browser.search.isUS" = false;
        "distribution.searchplugins.defaultLocale" = "en-GB";
        "general.useragent.locale" = "en-GB";
        "identity.fxaccounts.enabled" = false;
        "extensions.autoDisableScopes" = 0;
        "browser.bookmarks.autoExportHTML" = true;
        "browser.bookmarks.file" = "~/bookmarks.html";
      };
    };
    policies = {
      "OfferToSaveLogins" = false;
      "DisablePocket" = true;
      "AutofillAddressEnabled" = false;
      "AutofillCreditCardEnabled" = false;
      "DisableFirefoxAccounts" = true;
      "PasswordManagerEnabled" = false;
    };
  };
}