---
Function {
 argument: None,
 arguments: FunctionArguments {
  arguments: [
   FunctionArgument {
    identifier: "name",
    default: None,
   },
   FunctionArgument {
    identifier: "lib",
    default: None,
   },
   FunctionArgument {
    identifier: "config",
    default: None,
   },
  ],
  ellipsis: true,
 },
 definition: With {
  expression: Variable {
   identifier: "lib",
   position: (3, 6),
  },
  target: Map {
   bindings: [
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "options",
        position: (5, 3),
       },
      ],
     },
     Map {
      bindings: [
       KeyValue(
        AttributePath {
         attributes: [
          Raw {
           content: "dataPath",
           position: (6, 5),
          },
         ],
        },
        FunctionApplication {
         function: Variable {
          identifier: "mkOption",
          position: (6, 16),
         },
         arguments: [
          Map {
           bindings: [
            KeyValue(
             AttributePath {
              attributes: [
               Raw {
                content: "type",
                position: (7, 7),
               },
              ],
             },
             PropertyAccess {
              expression: Variable {
               identifier: "types",
               position: (7, 14),
              },
              attribute_path: AttributePath {
               attributes: [
                Raw {
                 content: "path",
                 position: (7, 20),
                },
               ],
              },
              default: None,
             },
            ),
            KeyValue(
             AttributePath {
              attributes: [
               Raw {
                content: "default",
                position: (8, 7),
               },
              ],
             },
             String {
              parts: [
               Raw {
                content: "/var/lib/pantalaimon-",
                position: (8, 18),
               },
               Expression {
                expression: Variable {
                 identifier: "name",
                 position: (8, 41),
                },
               },
              ],
             },
            ),
            KeyValue(
             AttributePath {
              attributes: [
               Raw {
                content: "description",
                position: (9, 7),
               },
              ],
             },
             String {
              parts: [
               Raw {
                content: "The directory where <literal>pantalaimon</literal> should store its state such as the database file.\n",
                position: (10, 1),
               },
              ],
             },
            ),
           ],
           recursive: false,
           position: (6, 25),
          },
         ],
        },
       ),
       KeyValue(
        AttributePath {
         attributes: [
          Raw {
           content: "logLevel",
           position: (14, 5),
          },
         ],
        },
        FunctionApplication {
         function: Variable {
          identifier: "mkOption",
          position: (14, 16),
         },
         arguments: [
          Map {
           bindings: [
            KeyValue(
             AttributePath {
              attributes: [
               Raw {
                content: "type",
                position: (15, 7),
               },
              ],
             },
             FunctionApplication {
              function: PropertyAccess {
               expression: Variable {
                identifier: "types",
                position: (15, 14),
               },
               attribute_path: AttributePath {
                attributes: [
                 Raw {
                  content: "enum",
                  position: (15, 20),
                 },
                ],
               },
               default: None,
              },
              arguments: [
               List {
                elements: [
                 String {
                  parts: [
                   Raw {
                    content: "info",
                    position: (15, 28),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "warning",
                    position: (15, 35),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "error",
                    position: (15, 45),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "debug",
                    position: (15, 53),
                   },
                  ],
                 },
                ],
                position: (15, 25),
               },
              ],
             },
            ),
            KeyValue(
             AttributePath {
              attributes: [
               Raw {
                content: "default",
                position: (16, 7),
               },
              ],
             },
             String {
              parts: [
               Raw {
                content: "warning",
                position: (16, 18),
               },
              ],
             },
            ),
            KeyValue(
             AttributePath {
              attributes: [
               Raw {
                content: "description",
                position: (17, 7),
               },
              ],
             },
             String {
              parts: [
               Raw {
                content: "Set the log level of the daemon.\n",
                position: (18, 1),
               },
              ],
             },
            ),
           ],
           recursive: false,
           position: (14, 25),
          },
         ],
        },
       ),
       KeyValue(
        AttributePath {
         attributes: [
          Raw {
           content: "homeserver",
           position: (22, 5),
          },
         ],
        },
        FunctionApplication {
         function: Variable {
          identifier: "mkOption",
          position: (22, 18),
         },
         arguments: [
          Map {
           bindings: [
            KeyValue(
             AttributePath {
              attributes: [
               Raw {
                content: "type",
                position: (23, 7),
               },
              ],
             },
             PropertyAccess {
              expression: Variable {
               identifier: "types",
               position: (23, 14),
              },
              attribute_path: AttributePath {
               attributes: [
                Raw {
                 content: "str",
                 position: (23, 20),
                },
               ],
              },
              default: None,
             },
            ),
            KeyValue(
             AttributePath {
              attributes: [
               Raw {
                content: "example",
                position: (24, 7),
               },
              ],
             },
             String {
              parts: [
               Raw {
                content: "https://matrix.org",
                position: (24, 18),
               },
              ],
             },
            ),
            KeyValue(
             AttributePath {
              attributes: [
               Raw {
                content: "description",
                position: (25, 7),
               },
              ],
             },
             String {
              parts: [
               Raw {
                content: "The URI of the homeserver that the <literal>pantalaimon</literal> proxy should\nforward requests to, without the matrix API path but including\nthe http(s) schema.\n",
                position: (26, 1),
               },
              ],
             },
            ),
           ],
           recursive: false,
           position: (22, 27),
          },
         ],
        },
       ),
       KeyValue(
        AttributePath {
         attributes: [
          Raw {
           content: "ssl",
           position: (32, 5),
          },
         ],
        },
        FunctionApplication {
         function: Variable {
          identifier: "mkOption",
          position: (32, 11),
         },
         arguments: [
          Map {
           bindings: [
            KeyValue(
             AttributePath {
              attributes: [
               Raw {
                content: "type",
                position: (33, 7),
               },
              ],
             },
             PropertyAccess {
              expression: Variable {
               identifier: "types",
               position: (33, 14),
              },
              attribute_path: AttributePath {
               attributes: [
                Raw {
                 content: "bool",
                 position: (33, 20),
                },
               ],
              },
              default: None,
             },
            ),
            KeyValue(
             AttributePath {
              attributes: [
               Raw {
                content: "default",
                position: (34, 7),
               },
              ],
             },
             Variable {
              identifier: "true",
              position: (34, 17),
             },
            ),
            KeyValue(
             AttributePath {
              attributes: [
               Raw {
                content: "description",
                position: (35, 7),
               },
              ],
             },
             String {
              parts: [
               Raw {
                content: "Whether or not SSL verification should be enabled for outgoing\nconnections to the homeserver.\n",
                position: (36, 1),
               },
              ],
             },
            ),
           ],
           recursive: false,
           position: (32, 20),
          },
         ],
        },
       ),
       KeyValue(
        AttributePath {
         attributes: [
          Raw {
           content: "listenAddress",
           position: (41, 5),
          },
         ],
        },
        FunctionApplication {
         function: Variable {
          identifier: "mkOption",
          position: (41, 21),
         },
         arguments: [
          Map {
           bindings: [
            KeyValue(
             AttributePath {
              attributes: [
               Raw {
                content: "type",
                position: (42, 7),
               },
              ],
             },
             PropertyAccess {
              expression: Variable {
               identifier: "types",
               position: (42, 14),
              },
              attribute_path: AttributePath {
               attributes: [
                Raw {
                 content: "str",
                 position: (42, 20),
                },
               ],
              },
              default: None,
             },
            ),
            KeyValue(
             AttributePath {
              attributes: [
               Raw {
                content: "default",
                position: (43, 7),
               },
              ],
             },
             String {
              parts: [
               Raw {
                content: "localhost",
                position: (43, 18),
               },
              ],
             },
            ),
            KeyValue(
             AttributePath {
              attributes: [
               Raw {
                content: "description",
                position: (44, 7),
               },
              ],
             },
             String {
              parts: [
               Raw {
                content: "The address where the daemon will listen to client connections\nfor this homeserver.\n",
                position: (45, 1),
               },
              ],
             },
            ),
           ],
           recursive: false,
           position: (41, 30),
          },
         ],
        },
       ),
       KeyValue(
        AttributePath {
         attributes: [
          Raw {
           content: "listenPort",
           position: (50, 5),
          },
         ],
        },
        FunctionApplication {
         function: Variable {
          identifier: "mkOption",
          position: (50, 18),
         },
         arguments: [
          Map {
           bindings: [
            KeyValue(
             AttributePath {
              attributes: [
               Raw {
                content: "type",
                position: (51, 7),
               },
              ],
             },
             PropertyAccess {
              expression: Variable {
               identifier: "types",
               position: (51, 14),
              },
              attribute_path: AttributePath {
               attributes: [
                Raw {
                 content: "port",
                 position: (51, 20),
                },
               ],
              },
              default: None,
             },
            ),
            KeyValue(
             AttributePath {
              attributes: [
               Raw {
                content: "default",
                position: (52, 7),
               },
              ],
             },
             Int {
              value: 8009,
              position: (52, 17),
             },
            ),
            KeyValue(
             AttributePath {
              attributes: [
               Raw {
                content: "description",
                position: (53, 7),
               },
              ],
             },
             String {
              parts: [
               Raw {
                content: "The port where the daemon will listen to client connections for\nthis homeserver. Note that the listen address/port combination\nneeds to be unique between different homeservers.\n",
                position: (54, 1),
               },
              ],
             },
            ),
           ],
           recursive: false,
           position: (50, 27),
          },
         ],
        },
       ),
       KeyValue(
        AttributePath {
         attributes: [
          Raw {
           content: "extraSettings",
           position: (60, 5),
          },
         ],
        },
        FunctionApplication {
         function: Variable {
          identifier: "mkOption",
          position: (60, 21),
         },
         arguments: [
          Map {
           bindings: [
            KeyValue(
             AttributePath {
              attributes: [
               Raw {
                content: "type",
                position: (61, 7),
               },
              ],
             },
             PropertyAccess {
              expression: Variable {
               identifier: "types",
               position: (61, 14),
              },
              attribute_path: AttributePath {
               attributes: [
                Raw {
                 content: "attrs",
                 position: (61, 20),
                },
               ],
              },
              default: None,
             },
            ),
            KeyValue(
             AttributePath {
              attributes: [
               Raw {
                content: "default",
                position: (62, 7),
               },
              ],
             },
             Map {
              bindings: [],
              recursive: false,
              position: (62, 17),
             },
            ),
            KeyValue(
             AttributePath {
              attributes: [
               Raw {
                content: "description",
                position: (63, 7),
               },
              ],
             },
             String {
              parts: [
               Raw {
                content: "Extra configuration options. See\n<link xlink:href=\"https://github.com/matrix-org/pantalaimon/blob/master/docs/man/pantalaimon.5.md\">pantalaimon(5)</link>\nfor available options.\n",
                position: (64, 1),
               },
              ],
             },
            ),
           ],
           recursive: false,
           position: (60, 30),
          },
         ],
        },
       ),
      ],
      recursive: false,
      position: (5, 13),
     },
    ),
   ],
   recursive: false,
   position: (4, 1),
  },
  position: (3, 1),
 },
 position: (1, 1),
}