---
Function {
 argument: None,
 arguments: FunctionArguments {
  arguments: [
   FunctionArgument {
    identifier: "pkgs",
    default: None,
   },
   FunctionArgument {
    identifier: "lib",
    default: None,
   },
   FunctionArgument {
    identifier: "config",
    default: None,
   },
  ],
  ellipsis: true,
 },
 definition: With {
  expression: Variable {
   identifier: "lib",
   position: (3, 6),
  },
  target: LetIn {
   bindings: [
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "cfg",
        position: (6, 3),
       },
      ],
     },
     PropertyAccess {
      expression: Variable {
       identifier: "config",
       position: (6, 9),
      },
      attribute_path: AttributePath {
       attributes: [
        Raw {
         content: "services",
         position: (6, 16),
        },
        Raw {
         content: "matrix-conduit",
         position: (6, 25),
        },
       ],
      },
      default: None,
     },
    ),
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "format",
        position: (8, 3),
       },
      ],
     },
     FunctionApplication {
      function: PropertyAccess {
       expression: Variable {
        identifier: "pkgs",
        position: (8, 12),
       },
       attribute_path: AttributePath {
        attributes: [
         Raw {
          content: "formats",
          position: (8, 17),
         },
         Raw {
          content: "toml",
          position: (8, 25),
         },
        ],
       },
       default: None,
      },
      arguments: [
       Map {
        bindings: [],
        recursive: false,
        position: (8, 30),
       },
      ],
     },
    ),
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "configFile",
        position: (9, 3),
       },
      ],
     },
     FunctionApplication {
      function: PropertyAccess {
       expression: Variable {
        identifier: "format",
        position: (9, 16),
       },
       attribute_path: AttributePath {
        attributes: [
         Raw {
          content: "generate",
          position: (9, 23),
         },
        ],
       },
       default: None,
      },
      arguments: [
       String {
        parts: [
         Raw {
          content: "conduit.toml",
          position: (9, 33),
         },
        ],
       },
       PropertyAccess {
        expression: Variable {
         identifier: "cfg",
         position: (9, 47),
        },
        attribute_path: AttributePath {
         attributes: [
          Raw {
           content: "settings",
           position: (9, 51),
          },
         ],
        },
        default: None,
       },
      ],
     },
    ),
   ],
   target: Map {
    bindings: [
     KeyValue(
      AttributePath {
       attributes: [
        Raw {
         content: "meta",
         position: (12, 5),
        },
        Raw {
         content: "maintainers",
         position: (12, 10),
        },
       ],
      },
      With {
       expression: Variable {
        identifier: "maintainers",
        position: (12, 29),
       },
       target: List {
        elements: [
         Variable {
          identifier: "pstn",
          position: (12, 44),
         },
         Variable {
          identifier: "piegames",
          position: (12, 49),
         },
        ],
        position: (12, 42),
       },
       position: (12, 24),
      },
     ),
     KeyValue(
      AttributePath {
       attributes: [
        Raw {
         content: "options",
         position: (13, 5),
        },
        Raw {
         content: "services",
         position: (13, 13),
        },
        Raw {
         content: "matrix-conduit",
         position: (13, 22),
        },
       ],
      },
      Map {
       bindings: [
        KeyValue(
         AttributePath {
          attributes: [
           Raw {
            content: "enable",
            position: (14, 7),
           },
          ],
         },
         FunctionApplication {
          function: Variable {
           identifier: "mkEnableOption",
           position: (14, 16),
          },
          arguments: [
           String {
            parts: [
             Raw {
              content: "matrix-conduit",
              position: (14, 32),
             },
            ],
           },
          ],
         },
        ),
        KeyValue(
         AttributePath {
          attributes: [
           Raw {
            content: "extraEnvironment",
            position: (16, 7),
           },
          ],
         },
         FunctionApplication {
          function: Variable {
           identifier: "mkOption",
           position: (16, 26),
          },
          arguments: [
           Map {
            bindings: [
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "type",
                 position: (17, 9),
                },
               ],
              },
              FunctionApplication {
               function: PropertyAccess {
                expression: Variable {
                 identifier: "types",
                 position: (17, 16),
                },
                attribute_path: AttributePath {
                 attributes: [
                  Raw {
                   content: "attrsOf",
                   position: (17, 22),
                  },
                 ],
                },
                default: None,
               },
               arguments: [
                PropertyAccess {
                 expression: Variable {
                  identifier: "types",
                  position: (17, 30),
                 },
                 attribute_path: AttributePath {
                  attributes: [
                   Raw {
                    content: "str",
                    position: (17, 36),
                   },
                  ],
                 },
                 default: None,
                },
               ],
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "description",
                 position: (18, 9),
                },
               ],
              },
              String {
               parts: [
                Raw {
                 content: "Extra Environment variables to pass to the conduit server.",
                 position: (18, 24),
                },
               ],
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "default",
                 position: (19, 9),
                },
               ],
              },
              Map {
               bindings: [],
               recursive: false,
               position: (19, 19),
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "example",
                 position: (20, 9),
                },
               ],
              },
              Map {
               bindings: [
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "RUST_BACKTRACE",
                    position: (20, 21),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "yes",
                    position: (20, 37),
                   },
                  ],
                 },
                ),
               ],
               recursive: false,
               position: (20, 19),
              },
             ),
            ],
            recursive: false,
            position: (16, 35),
           },
          ],
         },
        ),
        KeyValue(
         AttributePath {
          attributes: [
           Raw {
            content: "package",
            position: (23, 7),
           },
          ],
         },
         FunctionApplication {
          function: Variable {
           identifier: "mkOption",
           position: (23, 17),
          },
          arguments: [
           Map {
            bindings: [
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "type",
                 position: (24, 9),
                },
               ],
              },
              PropertyAccess {
               expression: Variable {
                identifier: "types",
                position: (24, 16),
               },
               attribute_path: AttributePath {
                attributes: [
                 Raw {
                  content: "package",
                  position: (24, 22),
                 },
                ],
               },
               default: None,
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "default",
                 position: (25, 9),
                },
               ],
              },
              PropertyAccess {
               expression: Variable {
                identifier: "pkgs",
                position: (25, 19),
               },
               attribute_path: AttributePath {
                attributes: [
                 Raw {
                  content: "matrix-conduit",
                  position: (25, 24),
                 },
                ],
               },
               default: None,
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "defaultText",
                 position: (26, 9),
                },
               ],
              },
              String {
               parts: [
                Raw {
                 content: "pkgs.matrix-conduit",
                 position: (26, 24),
                },
               ],
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "example",
                 position: (27, 9),
                },
               ],
              },
              String {
               parts: [
                Raw {
                 content: "pkgs.matrix-conduit",
                 position: (27, 20),
                },
               ],
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "description",
                 position: (28, 9),
                },
               ],
              },
              String {
               parts: [
                Raw {
                 content: "Package of the conduit matrix server to use.\n",
                 position: (29, 1),
                },
               ],
              },
             ),
            ],
            recursive: false,
            position: (23, 26),
           },
          ],
         },
        ),
        KeyValue(
         AttributePath {
          attributes: [
           Raw {
            content: "settings",
            position: (33, 7),
           },
          ],
         },
         FunctionApplication {
          function: Variable {
           identifier: "mkOption",
           position: (33, 18),
          },
          arguments: [
           Map {
            bindings: [
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "type",
                 position: (34, 9),
                },
               ],
              },
              FunctionApplication {
               function: PropertyAccess {
                expression: Variable {
                 identifier: "types",
                 position: (34, 16),
                },
                attribute_path: AttributePath {
                 attributes: [
                  Raw {
                   content: "submodule",
                   position: (34, 22),
                  },
                 ],
                },
                default: None,
               },
               arguments: [
                Map {
                 bindings: [
                  KeyValue(
                   AttributePath {
                    attributes: [
                     Raw {
                      content: "freeformType",
                      position: (35, 11),
                     },
                    ],
                   },
                   PropertyAccess {
                    expression: Variable {
                     identifier: "format",
                     position: (35, 26),
                    },
                    attribute_path: AttributePath {
                     attributes: [
                      Raw {
                       content: "type",
                       position: (35, 33),
                      },
                     ],
                    },
                    default: None,
                   },
                  ),
                  KeyValue(
                   AttributePath {
                    attributes: [
                     Raw {
                      content: "options",
                      position: (36, 11),
                     },
                    ],
                   },
                   Map {
                    bindings: [
                     KeyValue(
                      AttributePath {
                       attributes: [
                        Raw {
                         content: "global",
                         position: (37, 13),
                        },
                        Raw {
                         content: "server_name",
                         position: (37, 20),
                        },
                       ],
                      },
                      FunctionApplication {
                       function: Variable {
                        identifier: "mkOption",
                        position: (37, 34),
                       },
                       arguments: [
                        Map {
                         bindings: [
                          KeyValue(
                           AttributePath {
                            attributes: [
                             Raw {
                              content: "type",
                              position: (38, 15),
                             },
                            ],
                           },
                           PropertyAccess {
                            expression: Variable {
                             identifier: "types",
                             position: (38, 22),
                            },
                            attribute_path: AttributePath {
                             attributes: [
                              Raw {
                               content: "str",
                               position: (38, 28),
                              },
                             ],
                            },
                            default: None,
                           },
                          ),
                          KeyValue(
                           AttributePath {
                            attributes: [
                             Raw {
                              content: "example",
                              position: (39, 15),
                             },
                            ],
                           },
                           String {
                            parts: [
                             Raw {
                              content: "example.com",
                              position: (39, 26),
                             },
                            ],
                           },
                          ),
                          KeyValue(
                           AttributePath {
                            attributes: [
                             Raw {
                              content: "description",
                              position: (40, 15),
                             },
                            ],
                           },
                           String {
                            parts: [
                             Raw {
                              content: "The server_name is the name of this server. It is used as a suffix for user # and room ids.",
                              position: (40, 30),
                             },
                            ],
                           },
                          ),
                         ],
                         recursive: false,
                         position: (37, 43),
                        },
                       ],
                      },
                     ),
                     KeyValue(
                      AttributePath {
                       attributes: [
                        Raw {
                         content: "global",
                         position: (42, 13),
                        },
                        Raw {
                         content: "port",
                         position: (42, 20),
                        },
                       ],
                      },
                      FunctionApplication {
                       function: Variable {
                        identifier: "mkOption",
                        position: (42, 27),
                       },
                       arguments: [
                        Map {
                         bindings: [
                          KeyValue(
                           AttributePath {
                            attributes: [
                             Raw {
                              content: "type",
                              position: (43, 15),
                             },
                            ],
                           },
                           PropertyAccess {
                            expression: Variable {
                             identifier: "types",
                             position: (43, 22),
                            },
                            attribute_path: AttributePath {
                             attributes: [
                              Raw {
                               content: "port",
                               position: (43, 28),
                              },
                             ],
                            },
                            default: None,
                           },
                          ),
                          KeyValue(
                           AttributePath {
                            attributes: [
                             Raw {
                              content: "default",
                              position: (44, 15),
                             },
                            ],
                           },
                           Int {
                            value: 6167,
                            position: (44, 25),
                           },
                          ),
                          KeyValue(
                           AttributePath {
                            attributes: [
                             Raw {
                              content: "description",
                              position: (45, 15),
                             },
                            ],
                           },
                           String {
                            parts: [
                             Raw {
                              content: "The port Conduit will be running on. You need to set up a reverse proxy in your web server (e.g. apache or nginx), so all requests to /_matrix on port 443 and 8448 will be forwarded to the Conduit instance running on this port",
                              position: (45, 30),
                             },
                            ],
                           },
                          ),
                         ],
                         recursive: false,
                         position: (42, 36),
                        },
                       ],
                      },
                     ),
                     KeyValue(
                      AttributePath {
                       attributes: [
                        Raw {
                         content: "global",
                         position: (47, 13),
                        },
                        Raw {
                         content: "max_request_size",
                         position: (47, 20),
                        },
                       ],
                      },
                      FunctionApplication {
                       function: Variable {
                        identifier: "mkOption",
                        position: (47, 39),
                       },
                       arguments: [
                        Map {
                         bindings: [
                          KeyValue(
                           AttributePath {
                            attributes: [
                             Raw {
                              content: "type",
                              position: (48, 15),
                             },
                            ],
                           },
                           PropertyAccess {
                            expression: Variable {
                             identifier: "types",
                             position: (48, 22),
                            },
                            attribute_path: AttributePath {
                             attributes: [
                              Raw {
                               content: "ints",
                               position: (48, 28),
                              },
                              Raw {
                               content: "positive",
                               position: (48, 33),
                              },
                             ],
                            },
                            default: None,
                           },
                          ),
                          KeyValue(
                           AttributePath {
                            attributes: [
                             Raw {
                              content: "default",
                              position: (49, 15),
                             },
                            ],
                           },
                           Int {
                            value: 20000000,
                            position: (49, 25),
                           },
                          ),
                          KeyValue(
                           AttributePath {
                            attributes: [
                             Raw {
                              content: "description",
                              position: (50, 15),
                             },
                            ],
                           },
                           String {
                            parts: [
                             Raw {
                              content: "Max request size in bytes. Don't forget to also change it in the proxy.",
                              position: (50, 30),
                             },
                            ],
                           },
                          ),
                         ],
                         recursive: false,
                         position: (47, 48),
                        },
                       ],
                      },
                     ),
                     KeyValue(
                      AttributePath {
                       attributes: [
                        Raw {
                         content: "global",
                         position: (52, 13),
                        },
                        Raw {
                         content: "allow_registration",
                         position: (52, 20),
                        },
                       ],
                      },
                      FunctionApplication {
                       function: Variable {
                        identifier: "mkOption",
                        position: (52, 41),
                       },
                       arguments: [
                        Map {
                         bindings: [
                          KeyValue(
                           AttributePath {
                            attributes: [
                             Raw {
                              content: "type",
                              position: (53, 15),
                             },
                            ],
                           },
                           PropertyAccess {
                            expression: Variable {
                             identifier: "types",
                             position: (53, 22),
                            },
                            attribute_path: AttributePath {
                             attributes: [
                              Raw {
                               content: "bool",
                               position: (53, 28),
                              },
                             ],
                            },
                            default: None,
                           },
                          ),
                          KeyValue(
                           AttributePath {
                            attributes: [
                             Raw {
                              content: "default",
                              position: (54, 15),
                             },
                            ],
                           },
                           Variable {
                            identifier: "false",
                            position: (54, 25),
                           },
                          ),
                          KeyValue(
                           AttributePath {
                            attributes: [
                             Raw {
                              content: "description",
                              position: (55, 15),
                             },
                            ],
                           },
                           String {
                            parts: [
                             Raw {
                              content: "Whether new users can register on this server.",
                              position: (55, 30),
                             },
                            ],
                           },
                          ),
                         ],
                         recursive: false,
                         position: (52, 50),
                        },
                       ],
                      },
                     ),
                     KeyValue(
                      AttributePath {
                       attributes: [
                        Raw {
                         content: "global",
                         position: (57, 13),
                        },
                        Raw {
                         content: "allow_encryption",
                         position: (57, 20),
                        },
                       ],
                      },
                      FunctionApplication {
                       function: Variable {
                        identifier: "mkOption",
                        position: (57, 39),
                       },
                       arguments: [
                        Map {
                         bindings: [
                          KeyValue(
                           AttributePath {
                            attributes: [
                             Raw {
                              content: "type",
                              position: (58, 15),
                             },
                            ],
                           },
                           PropertyAccess {
                            expression: Variable {
                             identifier: "types",
                             position: (58, 22),
                            },
                            attribute_path: AttributePath {
                             attributes: [
                              Raw {
                               content: "bool",
                               position: (58, 28),
                              },
                             ],
                            },
                            default: None,
                           },
                          ),
                          KeyValue(
                           AttributePath {
                            attributes: [
                             Raw {
                              content: "default",
                              position: (59, 15),
                             },
                            ],
                           },
                           Variable {
                            identifier: "true",
                            position: (59, 25),
                           },
                          ),
                          KeyValue(
                           AttributePath {
                            attributes: [
                             Raw {
                              content: "description",
                              position: (60, 15),
                             },
                            ],
                           },
                           String {
                            parts: [
                             Raw {
                              content: "Whether new encrypted rooms can be created. Note: existing rooms will continue to work.",
                              position: (60, 30),
                             },
                            ],
                           },
                          ),
                         ],
                         recursive: false,
                         position: (57, 48),
                        },
                       ],
                      },
                     ),
                     KeyValue(
                      AttributePath {
                       attributes: [
                        Raw {
                         content: "global",
                         position: (62, 13),
                        },
                        Raw {
                         content: "allow_federation",
                         position: (62, 20),
                        },
                       ],
                      },
                      FunctionApplication {
                       function: Variable {
                        identifier: "mkOption",
                        position: (62, 39),
                       },
                       arguments: [
                        Map {
                         bindings: [
                          KeyValue(
                           AttributePath {
                            attributes: [
                             Raw {
                              content: "type",
                              position: (63, 15),
                             },
                            ],
                           },
                           PropertyAccess {
                            expression: Variable {
                             identifier: "types",
                             position: (63, 22),
                            },
                            attribute_path: AttributePath {
                             attributes: [
                              Raw {
                               content: "bool",
                               position: (63, 28),
                              },
                             ],
                            },
                            default: None,
                           },
                          ),
                          KeyValue(
                           AttributePath {
                            attributes: [
                             Raw {
                              content: "default",
                              position: (64, 15),
                             },
                            ],
                           },
                           Variable {
                            identifier: "true",
                            position: (64, 25),
                           },
                          ),
                          KeyValue(
                           AttributePath {
                            attributes: [
                             Raw {
                              content: "description",
                              position: (65, 15),
                             },
                            ],
                           },
                           String {
                            parts: [
                             Raw {
                              content: "Whether this server federates with other servers.\n",
                              position: (66, 1),
                             },
                            ],
                           },
                          ),
                         ],
                         recursive: false,
                         position: (62, 48),
                        },
                       ],
                      },
                     ),
                     KeyValue(
                      AttributePath {
                       attributes: [
                        Raw {
                         content: "global",
                         position: (69, 13),
                        },
                        Raw {
                         content: "trusted_servers",
                         position: (69, 20),
                        },
                       ],
                      },
                      FunctionApplication {
                       function: Variable {
                        identifier: "mkOption",
                        position: (69, 38),
                       },
                       arguments: [
                        Map {
                         bindings: [
                          KeyValue(
                           AttributePath {
                            attributes: [
                             Raw {
                              content: "type",
                              position: (70, 15),
                             },
                            ],
                           },
                           FunctionApplication {
                            function: PropertyAccess {
                             expression: Variable {
                              identifier: "types",
                              position: (70, 22),
                             },
                             attribute_path: AttributePath {
                              attributes: [
                               Raw {
                                content: "listOf",
                                position: (70, 28),
                               },
                              ],
                             },
                             default: None,
                            },
                            arguments: [
                             PropertyAccess {
                              expression: Variable {
                               identifier: "types",
                               position: (70, 35),
                              },
                              attribute_path: AttributePath {
                               attributes: [
                                Raw {
                                 content: "str",
                                 position: (70, 41),
                                },
                               ],
                              },
                              default: None,
                             },
                            ],
                           },
                          ),
                          KeyValue(
                           AttributePath {
                            attributes: [
                             Raw {
                              content: "default",
                              position: (71, 15),
                             },
                            ],
                           },
                           List {
                            elements: [
                             String {
                              parts: [
                               Raw {
                                content: "matrix.org",
                                position: (71, 28),
                               },
                              ],
                             },
                            ],
                            position: (71, 25),
                           },
                          ),
                          KeyValue(
                           AttributePath {
                            attributes: [
                             Raw {
                              content: "description",
                              position: (72, 15),
                             },
                            ],
                           },
                           String {
                            parts: [
                             Raw {
                              content: "Servers trusted with signing server keys.",
                              position: (72, 30),
                             },
                            ],
                           },
                          ),
                         ],
                         recursive: false,
                         position: (69, 47),
                        },
                       ],
                      },
                     ),
                     KeyValue(
                      AttributePath {
                       attributes: [
                        Raw {
                         content: "global",
                         position: (74, 13),
                        },
                        Raw {
                         content: "address",
                         position: (74, 20),
                        },
                       ],
                      },
                      FunctionApplication {
                       function: Variable {
                        identifier: "mkOption",
                        position: (74, 30),
                       },
                       arguments: [
                        Map {
                         bindings: [
                          KeyValue(
                           AttributePath {
                            attributes: [
                             Raw {
                              content: "type",
                              position: (75, 15),
                             },
                            ],
                           },
                           PropertyAccess {
                            expression: Variable {
                             identifier: "types",
                             position: (75, 22),
                            },
                            attribute_path: AttributePath {
                             attributes: [
                              Raw {
                               content: "str",
                               position: (75, 28),
                              },
                             ],
                            },
                            default: None,
                           },
                          ),
                          KeyValue(
                           AttributePath {
                            attributes: [
                             Raw {
                              content: "default",
                              position: (76, 15),
                             },
                            ],
                           },
                           String {
                            parts: [
                             Raw {
                              content: "::1",
                              position: (76, 26),
                             },
                            ],
                           },
                          ),
                          KeyValue(
                           AttributePath {
                            attributes: [
                             Raw {
                              content: "description",
                              position: (77, 15),
                             },
                            ],
                           },
                           String {
                            parts: [
                             Raw {
                              content: "Address to listen on for connections by the reverse proxy/tls terminator.",
                              position: (77, 30),
                             },
                            ],
                           },
                          ),
                         ],
                         recursive: false,
                         position: (74, 39),
                        },
                       ],
                      },
                     ),
                     KeyValue(
                      AttributePath {
                       attributes: [
                        Raw {
                         content: "global",
                         position: (79, 13),
                        },
                        Raw {
                         content: "database_path",
                         position: (79, 20),
                        },
                       ],
                      },
                      FunctionApplication {
                       function: Variable {
                        identifier: "mkOption",
                        position: (79, 36),
                       },
                       arguments: [
                        Map {
                         bindings: [
                          KeyValue(
                           AttributePath {
                            attributes: [
                             Raw {
                              content: "type",
                              position: (80, 15),
                             },
                            ],
                           },
                           PropertyAccess {
                            expression: Variable {
                             identifier: "types",
                             position: (80, 22),
                            },
                            attribute_path: AttributePath {
                             attributes: [
                              Raw {
                               content: "str",
                               position: (80, 28),
                              },
                             ],
                            },
                            default: None,
                           },
                          ),
                          KeyValue(
                           AttributePath {
                            attributes: [
                             Raw {
                              content: "default",
                              position: (81, 15),
                             },
                            ],
                           },
                           String {
                            parts: [
                             Raw {
                              content: "/var/lib/matrix-conduit/",
                              position: (81, 26),
                             },
                            ],
                           },
                          ),
                          KeyValue(
                           AttributePath {
                            attributes: [
                             Raw {
                              content: "readOnly",
                              position: (82, 15),
                             },
                            ],
                           },
                           Variable {
                            identifier: "true",
                            position: (82, 26),
                           },
                          ),
                          KeyValue(
                           AttributePath {
                            attributes: [
                             Raw {
                              content: "description",
                              position: (83, 15),
                             },
                            ],
                           },
                           String {
                            parts: [
                             Raw {
                              content: "Path to the conduit database, the directory where conduit will save its data.\nNote that due to using the DynamicUser feature of systemd, this value should not be changed\nand is set to be read only.\n",
                              position: (84, 1),
                             },
                            ],
                           },
                          ),
                         ],
                         recursive: false,
                         position: (79, 45),
                        },
                       ],
                      },
                     ),
                     KeyValue(
                      AttributePath {
                       attributes: [
                        Raw {
                         content: "global",
                         position: (89, 13),
                        },
                        Raw {
                         content: "database_backend",
                         position: (89, 20),
                        },
                       ],
                      },
                      FunctionApplication {
                       function: Variable {
                        identifier: "mkOption",
                        position: (89, 39),
                       },
                       arguments: [
                        Map {
                         bindings: [
                          KeyValue(
                           AttributePath {
                            attributes: [
                             Raw {
                              content: "type",
                              position: (90, 15),
                             },
                            ],
                           },
                           FunctionApplication {
                            function: PropertyAccess {
                             expression: Variable {
                              identifier: "types",
                              position: (90, 22),
                             },
                             attribute_path: AttributePath {
                              attributes: [
                               Raw {
                                content: "enum",
                                position: (90, 28),
                               },
                              ],
                             },
                             default: None,
                            },
                            arguments: [
                             List {
                              elements: [
                               String {
                                parts: [
                                 Raw {
                                  content: "sqlite",
                                  position: (90, 36),
                                 },
                                ],
                               },
                               String {
                                parts: [
                                 Raw {
                                  content: "rocksdb",
                                  position: (90, 45),
                                 },
                                ],
                               },
                              ],
                              position: (90, 33),
                             },
                            ],
                           },
                          ),
                          KeyValue(
                           AttributePath {
                            attributes: [
                             Raw {
                              content: "default",
                              position: (91, 15),
                             },
                            ],
                           },
                           String {
                            parts: [
                             Raw {
                              content: "sqlite",
                              position: (91, 26),
                             },
                            ],
                           },
                          ),
                          KeyValue(
                           AttributePath {
                            attributes: [
                             Raw {
                              content: "example",
                              position: (92, 15),
                             },
                            ],
                           },
                           String {
                            parts: [
                             Raw {
                              content: "rocksdb",
                              position: (92, 26),
                             },
                            ],
                           },
                          ),
                          KeyValue(
                           AttributePath {
                            attributes: [
                             Raw {
                              content: "description",
                              position: (93, 15),
                             },
                            ],
                           },
                           String {
                            parts: [
                             Raw {
                              content: "The database backend for the service. Switching it on an existing\ninstance will require manual migration of data.\n",
                              position: (94, 1),
                             },
                            ],
                           },
                          ),
                         ],
                         recursive: false,
                         position: (89, 48),
                        },
                       ],
                      },
                     ),
                    ],
                    recursive: false,
                    position: (36, 21),
                   },
                  ),
                 ],
                 recursive: false,
                 position: (34, 32),
                },
               ],
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "default",
                 position: (100, 9),
                },
               ],
              },
              Map {
               bindings: [],
               recursive: false,
               position: (100, 19),
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "description",
                 position: (101, 9),
                },
               ],
              },
              String {
               parts: [
                Raw {
                 content: "Generates the conduit.toml configuration file. Refer to\n<link xlink:href=\"https://gitlab.com/famedly/conduit/-/blob/master/conduit-example.toml\"/>\nfor details on supported values.\nNote that database_path can not be edited because the service's reliance on systemd StateDir.\n",
                 position: (102, 1),
                },
               ],
              },
             ),
            ],
            recursive: false,
            position: (33, 27),
           },
          ],
         },
        ),
       ],
       recursive: false,
       position: (13, 39),
      },
     ),
     KeyValue(
      AttributePath {
       attributes: [
        Raw {
         content: "config",
         position: (110, 5),
        },
       ],
      },
      FunctionApplication {
       function: Variable {
        identifier: "mkIf",
        position: (110, 14),
       },
       arguments: [
        PropertyAccess {
         expression: Variable {
          identifier: "cfg",
          position: (110, 19),
         },
         attribute_path: AttributePath {
          attributes: [
           Raw {
            content: "enable",
            position: (110, 23),
           },
          ],
         },
         default: None,
        },
        Map {
         bindings: [
          KeyValue(
           AttributePath {
            attributes: [
             Raw {
              content: "systemd",
              position: (111, 7),
             },
             Raw {
              content: "services",
              position: (111, 15),
             },
             Raw {
              content: "conduit",
              position: (111, 24),
             },
            ],
           },
           Map {
            bindings: [
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "description",
                 position: (112, 9),
                },
               ],
              },
              String {
               parts: [
                Raw {
                 content: "Conduit Matrix Server",
                 position: (112, 24),
                },
               ],
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "documentation",
                 position: (113, 9),
                },
               ],
              },
              List {
               elements: [
                String {
                 parts: [
                  Raw {
                   content: "https://gitlab.com/famedly/conduit/",
                   position: (113, 28),
                  },
                 ],
                },
               ],
               position: (113, 25),
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "wantedBy",
                 position: (114, 9),
                },
               ],
              },
              List {
               elements: [
                String {
                 parts: [
                  Raw {
                   content: "multi-user.target",
                   position: (114, 23),
                  },
                 ],
                },
               ],
               position: (114, 20),
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "environment",
                 position: (115, 9),
                },
               ],
              },
              FunctionApplication {
               function: PropertyAccess {
                expression: Variable {
                 identifier: "lib",
                 position: (115, 23),
                },
                attribute_path: AttributePath {
                 attributes: [
                  Raw {
                   content: "mkMerge",
                   position: (115, 27),
                  },
                 ],
                },
                default: None,
               },
               arguments: [
                List {
                 elements: [
                  Map {
                   bindings: [
                    KeyValue(
                     AttributePath {
                      attributes: [
                       Raw {
                        content: "CONDUIT_CONFIG",
                        position: (116, 13),
                       },
                      ],
                     },
                     Variable {
                      identifier: "configFile",
                      position: (116, 30),
                     },
                    ),
                   ],
                   recursive: false,
                   position: (116, 11),
                  },
                  PropertyAccess {
                   expression: Variable {
                    identifier: "cfg",
                    position: (117, 11),
                   },
                   attribute_path: AttributePath {
                    attributes: [
                     Raw {
                      content: "extraEnvironment",
                      position: (117, 15),
                     },
                    ],
                   },
                   default: None,
                  },
                 ],
                 position: (115, 36),
                },
               ],
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "serviceConfig",
                 position: (119, 9),
                },
               ],
              },
              Map {
               bindings: [
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "DynamicUser",
                    position: (120, 11),
                   },
                  ],
                 },
                 Variable {
                  identifier: "true",
                  position: (120, 25),
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "User",
                    position: (121, 11),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "conduit",
                    position: (121, 19),
                   },
                  ],
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "LockPersonality",
                    position: (122, 11),
                   },
                  ],
                 },
                 Variable {
                  identifier: "true",
                  position: (122, 29),
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "MemoryDenyWriteExecute",
                    position: (123, 11),
                   },
                  ],
                 },
                 Variable {
                  identifier: "true",
                  position: (123, 36),
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "ProtectClock",
                    position: (124, 11),
                   },
                  ],
                 },
                 Variable {
                  identifier: "true",
                  position: (124, 26),
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "ProtectControlGroups",
                    position: (125, 11),
                   },
                  ],
                 },
                 Variable {
                  identifier: "true",
                  position: (125, 34),
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "ProtectHostname",
                    position: (126, 11),
                   },
                  ],
                 },
                 Variable {
                  identifier: "true",
                  position: (126, 29),
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "ProtectKernelLogs",
                    position: (127, 11),
                   },
                  ],
                 },
                 Variable {
                  identifier: "true",
                  position: (127, 31),
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "ProtectKernelModules",
                    position: (128, 11),
                   },
                  ],
                 },
                 Variable {
                  identifier: "true",
                  position: (128, 34),
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "ProtectKernelTunables",
                    position: (129, 11),
                   },
                  ],
                 },
                 Variable {
                  identifier: "true",
                  position: (129, 35),
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "PrivateDevices",
                    position: (130, 11),
                   },
                  ],
                 },
                 Variable {
                  identifier: "true",
                  position: (130, 28),
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "PrivateMounts",
                    position: (131, 11),
                   },
                  ],
                 },
                 Variable {
                  identifier: "true",
                  position: (131, 27),
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "PrivateUsers",
                    position: (132, 11),
                   },
                  ],
                 },
                 Variable {
                  identifier: "true",
                  position: (132, 26),
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "RestrictAddressFamilies",
                    position: (133, 11),
                   },
                  ],
                 },
                 List {
                  elements: [
                   String {
                    parts: [
                     Raw {
                      content: "AF_INET",
                      position: (133, 40),
                     },
                    ],
                   },
                   String {
                    parts: [
                     Raw {
                      content: "AF_INET6",
                      position: (133, 50),
                     },
                    ],
                   },
                  ],
                  position: (133, 37),
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "RestrictNamespaces",
                    position: (134, 11),
                   },
                  ],
                 },
                 Variable {
                  identifier: "true",
                  position: (134, 32),
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "RestrictRealtime",
                    position: (135, 11),
                   },
                  ],
                 },
                 Variable {
                  identifier: "true",
                  position: (135, 30),
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "SystemCallArchitectures",
                    position: (136, 11),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "native",
                    position: (136, 38),
                   },
                  ],
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "SystemCallFilter",
                    position: (137, 11),
                   },
                  ],
                 },
                 List {
                  elements: [
                   String {
                    parts: [
                     Raw {
                      content: "@system-service",
                      position: (138, 14),
                     },
                    ],
                   },
                   String {
                    parts: [
                     Raw {
                      content: "~@privileged",
                      position: (139, 14),
                     },
                    ],
                   },
                  ],
                  position: (137, 30),
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "StateDirectory",
                    position: (141, 11),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "matrix-conduit",
                    position: (141, 29),
                   },
                  ],
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "ExecStart",
                    position: (142, 11),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Expression {
                    expression: PropertyAccess {
                     expression: Variable {
                      identifier: "cfg",
                      position: (142, 26),
                     },
                     attribute_path: AttributePath {
                      attributes: [
                       Raw {
                        content: "package",
                        position: (142, 30),
                       },
                      ],
                     },
                     default: None,
                    },
                   },
                   Raw {
                    content: "/bin/conduit",
                    position: (142, 38),
                   },
                  ],
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "Restart",
                    position: (143, 11),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "on-failure",
                    position: (143, 22),
                   },
                  ],
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "RestartSec",
                    position: (144, 11),
                   },
                  ],
                 },
                 Int {
                  value: 10,
                  position: (144, 24),
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "StartLimitBurst",
                    position: (145, 11),
                   },
                  ],
                 },
                 Int {
                  value: 5,
                  position: (145, 29),
                 },
                ),
               ],
               recursive: false,
               position: (119, 25),
              },
             ),
            ],
            recursive: false,
            position: (111, 34),
           },
          ),
         ],
         recursive: false,
         position: (110, 30),
        },
       ],
      },
     ),
    ],
    recursive: false,
    position: (11, 3),
   },
   position: (5, 1),
  },
  position: (3, 1),
 },
 position: (1, 1),
}