MyNixOS website logo
option

programs.dbeaver.dataSourcesSettings

Configuration for DBeaver's data-sources.json. This file stores database connection definitions and is located at General/.dbeaver/data-sources.json in the DBeaver workspace.

See the DBeaver documentation for available connection options.

Declarations
Type
JSON value
Default
{ }
Example
{
  folders = { };
  connections = {
    "postgresql-local" = {
      provider = "postgresql";
      driver = "postgres-jdbc";
      name = "Local PostgreSQL";
      save-password = false;
      configuration = {
        host = "localhost";
        port = "5432";
        database = "mydb";
      };
    };
  };
}