anchor.diff:      serversqlite = args: {
         services.matrix-synapse = {
           enable = true;
  -        database_type = "sqlite3";
  -        tls_certificate_path = "${cert}";
  -        tls_private_key_path = "${key}";
  +        settings = {
  +          inherit listeners;
  +          database.name = "sqlite3";
  +          tls_certificate_path = "${cert}";
  +          tls_private_key_path = "${key}";
  +        };
         };
       };
     };
  
positive.code:   testUser = "alice";
    testPassword = "alicealice";
    testEmail = "alice@example.com";
  in {
  
    name = "matrix-synapse";
  
negative.code:     {
        services.matrix-synapse = {
          enable = true;
          settings = {
            inherit listeners;
            database = {
              name = "psycopg2";
              args.password = "synapse";
            };
            tls_certificate_path = "${cert}";
            tls_private_key_path = "${key}";
            registration_shared_secret = registrationSharedSecret;
            public_baseurl = "https://example.com";
            email = {
              smtp_host = mailerDomain;
              smtp_port = 25;
              require_transport_security = true;
              notif_from = "matrix <matrix@${mailerDomain}>";
              app_name = "Matrix";
            };
          };
        };
        services.postgresql = {
          enable = true;
  