MyNixOS website logo
option

programs.element-desktop.profiles

Extra profiles for Element. Those can be accessed using the "--profile $NAME" flag. The same warning and options apply here.

Declarations
Type
attribute set of (JSON value)
Default
{ }
Example
''
  {
    work = {
      default_server_config = {
        "m.homeserver" = {
            base_url = "https://matrix-client.matrix.org";
            server_name = "matrix.org";
        };
        "m.identity_server" = {
            base_url = "https://vector.im";
        };
      };
    };
    home = {
      disable_custom_urls = false;
      disable_guests = false;
      disable_login_language_selector = false;
      disable_3pid_login = false;
    };
    other = {
      force_verification = false;
      brand = "Element";
      integrations_ui_url = "https://scalar.vector.im/";
      integrations_rest_url = "https://scalar.vector.im/api";
    };
  }
''