Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

programs.element-desktop.enable

Whether to enable element-desktop.

Type: boolean

Default:

false

Example:

true

Declared by:

programs.element-desktop.package

The element-desktop package to use.

Type: null or package

Default:

pkgs.element-desktop

Declared by:

programs.element-desktop.profiles

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

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";
    };
  }
''

Declared by:

programs.element-desktop.settings

Configuration settings for Element’s default profiles. WARNING: Element doesn’t combine this config with the defaults, so make sure to configure most options. For details about this behavior and available configuration options see: https://github.com/element-hq/element-web/blob/develop/docs/config.md

Type: JSON value

Default:

{ }

Example:

''
  {
    default_server_config = {
      "m.homeserver" = {
          base_url = "https://matrix-client.matrix.org";
          server_name = "matrix.org";
      };
      "m.identity_server" = {
          base_url = "https://vector.im";
      };
    };
    disable_custom_urls = false;
    disable_guests = false;
    disable_login_language_selector = false;
    disable_3pid_login = false;
    force_verification = false;
    brand = "Element";
    integrations_ui_url = "https://scalar.vector.im/";
    integrations_rest_url = "https://scalar.vector.im/api";
  }
''

Declared by: