MyNixOS website logo
option

programs.firefox.profiles.<name>.settings

Attribute set of Firefox preferences.

Firefox only supports int, bool, and string types for preferences, but home-manager will automatically convert all other JSON-compatible values into strings.

Declarations
Type
attribute set of (Firefox preference (int, bool, string, and also attrs, list, float as a JSON string))
Default
{ }
Example
{
  "browser.startup.homepage" = "https://nixos.org";
  "browser.search.region" = "GB";
  "browser.search.isUS" = false;
  "distribution.searchplugins.defaultLocale" = "en-GB";
  "general.useragent.locale" = "en-GB";
  "browser.bookmarks.showMobileBookmarks" = true;
  "browser.newtabpage.pinned" = [{
    title = "NixOS";
    url = "https://nixos.org";
  }];
}