MyNixOS website logo

Attribute set of Nheko preferences (converted to an INI file).

For now, it is recommended to run nheko and sign-in before filling in the configuration settings in this module, as nheko writes the access token to $XDG_CONFIG_HOME/nheko/nheko.conf the first time we sign in, and we need that data into these settings for the correct functionality of the application.

This a temporary inconvenience, however, as nheko has plans to move the authentication stuff into the local database they currently use. Once this happens, this will no longer be an issue.

Declarations
Type
attribute set of section of an INI file (attrs of INI atom (null, bool, int, float or string))
Default
{ }
Example
{
  general.disableCertificateValidation = false;
  auth = {
    accessToken = "SECRET";
    deviceId = "MY_DEVICE";
    homeServer = "https://matrix-client.matrix.org:443";
    userId = "@@user:matrix.org";
  };
  settings.scaleFactor = 1.0;
  sidebar.width = 416;
  user = {
    alertOnNotification = true;
    animateImagesOnHover = false;
    "sidebar\\roomListWidth" = 308;
  };
}