---
Function {
 argument: None,
 arguments: FunctionArguments {
  arguments: [
   FunctionArgument {
    identifier: "lib",
    default: None,
   },
   FunctionArgument {
    identifier: "pkgs",
    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: "mautrix-facebook",
         position: (6, 25),
        },
       ],
      },
      default: None,
     },
    ),
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "settingsFormat",
        position: (7, 3),
       },
      ],
     },
     FunctionApplication {
      function: PropertyAccess {
       expression: Variable {
        identifier: "pkgs",
        position: (7, 20),
       },
       attribute_path: AttributePath {
        attributes: [
         Raw {
          content: "formats",
          position: (7, 25),
         },
         Raw {
          content: "json",
          position: (7, 33),
         },
        ],
       },
       default: None,
      },
      arguments: [
       Map {
        bindings: [],
        recursive: false,
        position: (7, 38),
       },
      ],
     },
    ),
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "settingsFile",
        position: (8, 3),
       },
      ],
     },
     FunctionApplication {
      function: PropertyAccess {
       expression: Variable {
        identifier: "settingsFormat",
        position: (8, 18),
       },
       attribute_path: AttributePath {
        attributes: [
         Raw {
          content: "generate",
          position: (8, 33),
         },
        ],
       },
       default: None,
      },
      arguments: [
       String {
        parts: [
         Raw {
          content: "mautrix-facebook-config.json",
          position: (8, 43),
         },
        ],
       },
       PropertyAccess {
        expression: Variable {
         identifier: "cfg",
         position: (8, 73),
        },
        attribute_path: AttributePath {
         attributes: [
          Raw {
           content: "settings",
           position: (8, 77),
          },
         ],
        },
        default: None,
       },
      ],
     },
    ),
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "puppetRegex",
        position: (10, 3),
       },
      ],
     },
     FunctionApplication {
      function: Variable {
       identifier: "concatStringsSep",
       position: (10, 17),
      },
      arguments: [
       String {
        parts: [
         Raw {
          content: ".*",
          position: (11, 6),
         },
        ],
       },
       FunctionApplication {
        function: Variable {
         identifier: "map",
         position: (12, 6),
        },
        arguments: [
         Variable {
          identifier: "escapeRegex",
          position: (13, 7),
         },
         FunctionApplication {
          function: Variable {
           identifier: "splitString",
           position: (14, 8),
          },
          arguments: [
           String {
            parts: [
             Raw {
              content: "{userid}",
              position: (15, 10),
             },
            ],
           },
           PropertyAccess {
            expression: Variable {
             identifier: "cfg",
             position: (16, 9),
            },
            attribute_path: AttributePath {
             attributes: [
              Raw {
               content: "settings",
               position: (16, 13),
              },
              Raw {
               content: "bridge",
               position: (16, 22),
              },
              Raw {
               content: "username_template",
               position: (16, 29),
              },
             ],
            },
            default: None,
           },
          ],
         },
        ],
       },
      ],
     },
    ),
   ],
   target: Map {
    bindings: [
     KeyValue(
      AttributePath {
       attributes: [
        Raw {
         content: "options",
         position: (18, 3),
        },
       ],
      },
      Map {
       bindings: [
        KeyValue(
         AttributePath {
          attributes: [
           Raw {
            content: "services",
            position: (19, 5),
           },
           Raw {
            content: "mautrix-facebook",
            position: (19, 14),
           },
          ],
         },
         Map {
          bindings: [
           KeyValue(
            AttributePath {
             attributes: [
              Raw {
               content: "enable",
               position: (20, 7),
              },
             ],
            },
            FunctionApplication {
             function: Variable {
              identifier: "mkEnableOption",
              position: (20, 16),
             },
             arguments: [
              String {
               parts: [
                Raw {
                 content: "Mautrix-Facebook, a Matrix-Facebook hybrid puppeting/relaybot bridge",
                 position: (20, 32),
                },
               ],
              },
             ],
            },
           ),
           KeyValue(
            AttributePath {
             attributes: [
              Raw {
               content: "settings",
               position: (22, 7),
              },
             ],
            },
            FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (22, 18),
             },
             arguments: [
              Map {
               bindings: [
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "apply",
                    position: (23, 9),
                   },
                  ],
                 },
                 FunctionApplication {
                  function: Variable {
                   identifier: "recursiveUpdate",
                   position: (23, 17),
                  },
                  arguments: [
                   Variable {
                    identifier: "default",
                    position: (23, 33),
                   },
                  ],
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "type",
                    position: (24, 9),
                   },
                  ],
                 },
                 PropertyAccess {
                  expression: Variable {
                   identifier: "settingsFormat",
                   position: (24, 16),
                  },
                  attribute_path: AttributePath {
                   attributes: [
                    Raw {
                     content: "type",
                     position: (24, 31),
                    },
                   ],
                  },
                  default: None,
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "default",
                    position: (25, 9),
                   },
                  ],
                 },
                 Map {
                  bindings: [
                   KeyValue(
                    AttributePath {
                     attributes: [
                      Raw {
                       content: "homeserver",
                       position: (26, 11),
                      },
                     ],
                    },
                    Map {
                     bindings: [
                      KeyValue(
                       AttributePath {
                        attributes: [
                         Raw {
                          content: "address",
                          position: (27, 13),
                         },
                        ],
                       },
                       String {
                        parts: [
                         Raw {
                          content: "http://localhost:8008",
                          position: (27, 24),
                         },
                        ],
                       },
                      ),
                     ],
                     recursive: false,
                     position: (26, 24),
                    },
                   ),
                   KeyValue(
                    AttributePath {
                     attributes: [
                      Raw {
                       content: "appservice",
                       position: (30, 11),
                      },
                     ],
                    },
                    Map {
                     bindings: [
                      KeyValue(
                       AttributePath {
                        attributes: [
                         Raw {
                          content: "address",
                          position: (31, 13),
                         },
                        ],
                       },
                       String {
                        parts: [
                         Raw {
                          content: "http://",
                          position: (31, 24),
                         },
                         Expression {
                          expression: Variable {
                           identifier: "hostname",
                           position: (31, 33),
                          },
                         },
                         Raw {
                          content: ":",
                          position: (31, 42),
                         },
                         Expression {
                          expression: FunctionApplication {
                           function: Variable {
                            identifier: "toString",
                            position: (31, 45),
                           },
                           arguments: [
                            Variable {
                             identifier: "port",
                             position: (31, 54),
                            },
                           ],
                          },
                         },
                        ],
                       },
                      ),
                      KeyValue(
                       AttributePath {
                        attributes: [
                         Raw {
                          content: "hostname",
                          position: (32, 13),
                         },
                        ],
                       },
                       String {
                        parts: [
                         Raw {
                          content: "localhost",
                          position: (32, 25),
                         },
                        ],
                       },
                      ),
                      KeyValue(
                       AttributePath {
                        attributes: [
                         Raw {
                          content: "port",
                          position: (33, 13),
                         },
                        ],
                       },
                       Int {
                        value: 29319,
                        position: (33, 20),
                       },
                      ),
                      KeyValue(
                       AttributePath {
                        attributes: [
                         Raw {
                          content: "database",
                          position: (35, 13),
                         },
                        ],
                       },
                       String {
                        parts: [
                         Raw {
                          content: "postgresql://",
                          position: (35, 25),
                         },
                        ],
                       },
                      ),
                      KeyValue(
                       AttributePath {
                        attributes: [
                         Raw {
                          content: "bot_username",
                          position: (37, 13),
                         },
                        ],
                       },
                       String {
                        parts: [
                         Raw {
                          content: "facebookbot",
                          position: (37, 29),
                         },
                        ],
                       },
                      ),
                     ],
                     recursive: true,
                     position: (30, 24),
                    },
                   ),
                   KeyValue(
                    AttributePath {
                     attributes: [
                      Raw {
                       content: "metrics",
                       position: (40, 11),
                      },
                      Raw {
                       content: "enabled",
                       position: (40, 19),
                      },
                     ],
                    },
                    Variable {
                     identifier: "false",
                     position: (40, 29),
                    },
                   ),
                   KeyValue(
                    AttributePath {
                     attributes: [
                      Raw {
                       content: "manhole",
                       position: (41, 11),
                      },
                      Raw {
                       content: "enabled",
                       position: (41, 19),
                      },
                     ],
                    },
                    Variable {
                     identifier: "false",
                     position: (41, 29),
                    },
                   ),
                   KeyValue(
                    AttributePath {
                     attributes: [
                      Raw {
                       content: "bridge",
                       position: (43, 11),
                      },
                     ],
                    },
                    Map {
                     bindings: [
                      KeyValue(
                       AttributePath {
                        attributes: [
                         Raw {
                          content: "encryption",
                          position: (44, 13),
                         },
                        ],
                       },
                       Map {
                        bindings: [
                         KeyValue(
                          AttributePath {
                           attributes: [
                            Raw {
                             content: "allow",
                             position: (45, 15),
                            },
                           ],
                          },
                          Variable {
                           identifier: "true",
                           position: (45, 23),
                          },
                         ),
                         KeyValue(
                          AttributePath {
                           attributes: [
                            Raw {
                             content: "default",
                             position: (46, 15),
                            },
                           ],
                          },
                          Variable {
                           identifier: "true",
                           position: (46, 25),
                          },
                         ),
                        ],
                        recursive: false,
                        position: (44, 26),
                       },
                      ),
                      KeyValue(
                       AttributePath {
                        attributes: [
                         Raw {
                          content: "username_template",
                          position: (48, 13),
                         },
                        ],
                       },
                       String {
                        parts: [
                         Raw {
                          content: "facebook_{userid}",
                          position: (48, 34),
                         },
                        ],
                       },
                      ),
                     ],
                     recursive: false,
                     position: (43, 20),
                    },
                   ),
                   KeyValue(
                    AttributePath {
                     attributes: [
                      Raw {
                       content: "logging",
                       position: (51, 11),
                      },
                     ],
                    },
                    Map {
                     bindings: [
                      KeyValue(
                       AttributePath {
                        attributes: [
                         Raw {
                          content: "version",
                          position: (52, 13),
                         },
                        ],
                       },
                       Int {
                        value: 1,
                        position: (52, 23),
                       },
                      ),
                      KeyValue(
                       AttributePath {
                        attributes: [
                         Raw {
                          content: "formatters",
                          position: (53, 13),
                         },
                         Raw {
                          content: "journal_fmt",
                          position: (53, 24),
                         },
                         Raw {
                          content: "format",
                          position: (53, 36),
                         },
                        ],
                       },
                       String {
                        parts: [
                         Raw {
                          content: "%(name)s: %(message)s",
                          position: (53, 46),
                         },
                        ],
                       },
                      ),
                      KeyValue(
                       AttributePath {
                        attributes: [
                         Raw {
                          content: "handlers",
                          position: (54, 13),
                         },
                         Raw {
                          content: "journal",
                          position: (54, 22),
                         },
                        ],
                       },
                       Map {
                        bindings: [
                         KeyValue(
                          AttributePath {
                           attributes: [
                            Raw {
                             content: "class",
                             position: (55, 15),
                            },
                           ],
                          },
                          String {
                           parts: [
                            Raw {
                             content: "systemd.journal.JournalHandler",
                             position: (55, 24),
                            },
                           ],
                          },
                         ),
                         KeyValue(
                          AttributePath {
                           attributes: [
                            Raw {
                             content: "formatter",
                             position: (56, 15),
                            },
                           ],
                          },
                          String {
                           parts: [
                            Raw {
                             content: "journal_fmt",
                             position: (56, 28),
                            },
                           ],
                          },
                         ),
                         KeyValue(
                          AttributePath {
                           attributes: [
                            Raw {
                             content: "SYSLOG_IDENTIFIER",
                             position: (57, 15),
                            },
                           ],
                          },
                          String {
                           parts: [
                            Raw {
                             content: "mautrix-facebook",
                             position: (57, 36),
                            },
                           ],
                          },
                         ),
                        ],
                        recursive: false,
                        position: (54, 32),
                       },
                      ),
                      KeyValue(
                       AttributePath {
                        attributes: [
                         Raw {
                          content: "root",
                          position: (59, 13),
                         },
                        ],
                       },
                       Map {
                        bindings: [
                         KeyValue(
                          AttributePath {
                           attributes: [
                            Raw {
                             content: "level",
                             position: (60, 15),
                            },
                           ],
                          },
                          String {
                           parts: [
                            Raw {
                             content: "INFO",
                             position: (60, 24),
                            },
                           ],
                          },
                         ),
                         KeyValue(
                          AttributePath {
                           attributes: [
                            Raw {
                             content: "handlers",
                             position: (61, 15),
                            },
                           ],
                          },
                          List {
                           elements: [
                            String {
                             parts: [
                              Raw {
                               content: "journal",
                               position: (61, 28),
                              },
                             ],
                            },
                           ],
                           position: (61, 26),
                          },
                         ),
                        ],
                        recursive: false,
                        position: (59, 20),
                       },
                      ),
                     ],
                     recursive: false,
                     position: (51, 21),
                    },
                   ),
                  ],
                  recursive: false,
                  position: (25, 19),
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "example",
                    position: (65, 9),
                   },
                  ],
                 },
                 FunctionApplication {
                  function: Variable {
                   identifier: "literalExpression",
                   position: (65, 19),
                  },
                  arguments: [
                   String {
                    parts: [
                     Raw {
                      content: "{\n  homeserver = {\n    address = \"http://localhost:8008\";\n    domain = \"mydomain.example\";\n  };\n\n  bridge.permissions = {\n    \"@admin:mydomain.example\" = \"admin\";\n    \"mydomain.example\" = \"user\";\n  };\n}\n",
                      position: (66, 1),
                     },
                    ],
                   },
                  ],
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "description",
                    position: (78, 9),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "<filename>config.yaml</filename> configuration as a Nix attribute set.\nConfiguration options should match those described in\n<link xlink:href=\"https://github.com/mautrix/facebook/blob/master/mautrix_facebook/example-config.yaml\">\nexample-config.yaml</link>.\n</para>\n\n<para>\nSecret tokens should be specified using <option>environmentFile</option>\ninstead of this world-readable attribute set.\n",
                    position: (79, 1),
                   },
                  ],
                 },
                ),
               ],
               recursive: true,
               position: (22, 27),
              },
             ],
            },
           ),
           KeyValue(
            AttributePath {
             attributes: [
              Raw {
               content: "environmentFile",
               position: (91, 7),
              },
             ],
            },
            FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (91, 25),
             },
             arguments: [
              Map {
               bindings: [
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "type",
                    position: (92, 9),
                   },
                  ],
                 },
                 FunctionApplication {
                  function: PropertyAccess {
                   expression: Variable {
                    identifier: "types",
                    position: (92, 16),
                   },
                   attribute_path: AttributePath {
                    attributes: [
                     Raw {
                      content: "nullOr",
                      position: (92, 22),
                     },
                    ],
                   },
                   default: None,
                  },
                  arguments: [
                   PropertyAccess {
                    expression: Variable {
                     identifier: "types",
                     position: (92, 29),
                    },
                    attribute_path: AttributePath {
                     attributes: [
                      Raw {
                       content: "path",
                       position: (92, 35),
                      },
                     ],
                    },
                    default: None,
                   },
                  ],
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "default",
                    position: (93, 9),
                   },
                  ],
                 },
                 Variable {
                  identifier: "null",
                  position: (93, 19),
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "description",
                    position: (94, 9),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "File containing environment variables to be passed to the mautrix-telegram service.\n\nAny config variable can be overridden by setting <literal>MAUTRIX_FACEBOOK_SOME_KEY</literal> to override the <literal>some.key</literal> variable.\n",
                    position: (95, 1),
                   },
                  ],
                 },
                ),
               ],
               recursive: false,
               position: (91, 34),
              },
             ],
            },
           ),
           KeyValue(
            AttributePath {
             attributes: [
              Raw {
               content: "configurePostgresql",
               position: (101, 7),
              },
             ],
            },
            FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (101, 29),
             },
             arguments: [
              Map {
               bindings: [
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "type",
                    position: (102, 9),
                   },
                  ],
                 },
                 PropertyAccess {
                  expression: Variable {
                   identifier: "types",
                   position: (102, 16),
                  },
                  attribute_path: AttributePath {
                   attributes: [
                    Raw {
                     content: "bool",
                     position: (102, 22),
                    },
                   ],
                  },
                  default: None,
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "default",
                    position: (103, 9),
                   },
                  ],
                 },
                 Variable {
                  identifier: "true",
                  position: (103, 19),
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "description",
                    position: (104, 9),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "Enable PostgreSQL and create a user and database for mautrix-facebook. The default <literal>settings</literal> reference this database, if you disable this option you must provide a database URL.\n",
                    position: (105, 1),
                   },
                  ],
                 },
                ),
               ],
               recursive: false,
               position: (101, 38),
              },
             ],
            },
           ),
           KeyValue(
            AttributePath {
             attributes: [
              Raw {
               content: "registrationData",
               position: (109, 7),
              },
             ],
            },
            FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (109, 26),
             },
             arguments: [
              Map {
               bindings: [
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "type",
                    position: (110, 9),
                   },
                  ],
                 },
                 PropertyAccess {
                  expression: Variable {
                   identifier: "types",
                   position: (110, 16),
                  },
                  attribute_path: AttributePath {
                   attributes: [
                    Raw {
                     content: "attrs",
                     position: (110, 22),
                    },
                   ],
                  },
                  default: None,
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "default",
                    position: (111, 9),
                   },
                  ],
                 },
                 Map {
                  bindings: [],
                  recursive: false,
                  position: (111, 19),
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "description",
                    position: (112, 9),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "Output data for appservice registration. Simply make any desired changes and serialize to JSON. Note that this data contains secrets so think twice before putting it into the nix store.\n\nCurrently <literal>as_token</literal> and <literal>hs_token</literal> need to be added as they are not known to this module.\n",
                    position: (113, 1),
                   },
                  ],
                 },
                ),
               ],
               recursive: false,
               position: (109, 35),
              },
             ],
            },
           ),
          ],
          recursive: false,
          position: (19, 33),
         },
        ),
       ],
       recursive: false,
       position: (18, 13),
      },
     ),
     KeyValue(
      AttributePath {
       attributes: [
        Raw {
         content: "config",
         position: (121, 3),
        },
       ],
      },
      FunctionApplication {
       function: Variable {
        identifier: "mkIf",
        position: (121, 12),
       },
       arguments: [
        PropertyAccess {
         expression: Variable {
          identifier: "cfg",
          position: (121, 17),
         },
         attribute_path: AttributePath {
          attributes: [
           Raw {
            content: "enable",
            position: (121, 21),
           },
          ],
         },
         default: None,
        },
        Map {
         bindings: [
          KeyValue(
           AttributePath {
            attributes: [
             Raw {
              content: "users",
              position: (122, 5),
             },
             Raw {
              content: "users",
              position: (122, 11),
             },
             Raw {
              content: "mautrix-facebook",
              position: (122, 17),
             },
            ],
           },
           Map {
            bindings: [
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "group",
                 position: (123, 7),
                },
               ],
              },
              String {
               parts: [
                Raw {
                 content: "mautrix-facebook",
                 position: (123, 16),
                },
               ],
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "isSystemUser",
                 position: (124, 7),
                },
               ],
              },
              Variable {
               identifier: "true",
               position: (124, 22),
              },
             ),
            ],
            recursive: false,
            position: (122, 36),
           },
          ),
          KeyValue(
           AttributePath {
            attributes: [
             Raw {
              content: "services",
              position: (127, 5),
             },
             Raw {
              content: "postgresql",
              position: (127, 14),
             },
            ],
           },
           FunctionApplication {
            function: Variable {
             identifier: "mkIf",
             position: (127, 27),
            },
            arguments: [
             PropertyAccess {
              expression: Variable {
               identifier: "cfg",
               position: (127, 32),
              },
              attribute_path: AttributePath {
               attributes: [
                Raw {
                 content: "configurePostgresql",
                 position: (127, 36),
                },
               ],
              },
              default: None,
             },
             Map {
              bindings: [
               KeyValue(
                AttributePath {
                 attributes: [
                  Raw {
                   content: "ensureDatabases",
                   position: (128, 7),
                  },
                 ],
                },
                List {
                 elements: [
                  String {
                   parts: [
                    Raw {
                     content: "mautrix-facebook",
                     position: (128, 27),
                    },
                   ],
                  },
                 ],
                 position: (128, 25),
                },
               ),
               KeyValue(
                AttributePath {
                 attributes: [
                  Raw {
                   content: "ensureUsers",
                   position: (129, 7),
                  },
                 ],
                },
                List {
                 elements: [
                  Map {
                   bindings: [
                    KeyValue(
                     AttributePath {
                      attributes: [
                       Raw {
                        content: "name",
                        position: (130, 9),
                       },
                      ],
                     },
                     String {
                      parts: [
                       Raw {
                        content: "mautrix-facebook",
                        position: (130, 17),
                       },
                      ],
                     },
                    ),
                    KeyValue(
                     AttributePath {
                      attributes: [
                       Raw {
                        content: "ensurePermissions",
                        position: (131, 9),
                       },
                      ],
                     },
                     Map {
                      bindings: [
                       KeyValue(
                        AttributePath {
                         attributes: [
                          Expression {
                           expression: String {
                            parts: [
                             Raw {
                              content: "DATABASE \"mautrix-facebook\"",
                              position: (132, 12),
                             },
                            ],
                           },
                          },
                         ],
                        },
                        String {
                         parts: [
                          Raw {
                           content: "ALL PRIVILEGES",
                           position: (132, 46),
                          },
                         ],
                        },
                       ),
                      ],
                      recursive: false,
                      position: (131, 29),
                     },
                    ),
                   ],
                   recursive: false,
                   position: (129, 22),
                  },
                 ],
                 position: (129, 21),
                },
               ),
              ],
              recursive: false,
              position: (127, 56),
             },
            ],
           },
          ),
          KeyValue(
           AttributePath {
            attributes: [
             Raw {
              content: "systemd",
              position: (137, 5),
             },
             Raw {
              content: "services",
              position: (137, 13),
             },
             Raw {
              content: "mautrix-facebook",
              position: (137, 22),
             },
            ],
           },
           Map {
            bindings: [
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "wantedBy",
                 position: (138, 7),
                },
               ],
              },
              List {
               elements: [
                String {
                 parts: [
                  Raw {
                   content: "multi-user.target",
                   position: (138, 21),
                  },
                 ],
                },
               ],
               position: (138, 18),
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "wants",
                 position: (139, 7),
                },
               ],
              },
              BinaryOperation {
               operator: Concatenation,
               operands: [
                List {
                 elements: [
                  String {
                   parts: [
                    Raw {
                     content: "network-online.target",
                     position: (140, 10),
                    },
                   ],
                  },
                 ],
                 position: (139, 15),
                },
                BinaryOperation {
                 operator: Concatenation,
                 operands: [
                  FunctionApplication {
                   function: Variable {
                    identifier: "optional",
                    position: (141, 12),
                   },
                   arguments: [
                    PropertyAccess {
                     expression: Variable {
                      identifier: "config",
                      position: (141, 21),
                     },
                     attribute_path: AttributePath {
                      attributes: [
                       Raw {
                        content: "services",
                        position: (141, 28),
                       },
                       Raw {
                        content: "matrix-synapse",
                        position: (141, 37),
                       },
                       Raw {
                        content: "enable",
                        position: (141, 52),
                       },
                      ],
                     },
                     default: None,
                    },
                    String {
                     parts: [
                      Raw {
                       content: "matrix-synapse.service",
                       position: (141, 60),
                      },
                     ],
                    },
                   ],
                  },
                  FunctionApplication {
                   function: Variable {
                    identifier: "optional",
                    position: (142, 12),
                   },
                   arguments: [
                    PropertyAccess {
                     expression: Variable {
                      identifier: "cfg",
                      position: (142, 21),
                     },
                     attribute_path: AttributePath {
                      attributes: [
                       Raw {
                        content: "configurePostgresql",
                        position: (142, 25),
                       },
                      ],
                     },
                     default: None,
                    },
                    String {
                     parts: [
                      Raw {
                       content: "postgresql.service",
                       position: (142, 46),
                      },
                     ],
                    },
                   ],
                  },
                 ],
                 position: (142, 9),
                },
               ],
               position: (141, 9),
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "after",
                 position: (143, 7),
                },
               ],
              },
              Variable {
               identifier: "wants",
               position: (143, 15),
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "serviceConfig",
                 position: (145, 7),
                },
               ],
              },
              Map {
               bindings: [
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "Type",
                    position: (146, 9),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "simple",
                    position: (146, 17),
                   },
                  ],
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "Restart",
                    position: (147, 9),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "always",
                    position: (147, 20),
                   },
                  ],
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "User",
                    position: (149, 9),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "mautrix-facebook",
                    position: (149, 17),
                   },
                  ],
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "ProtectSystem",
                    position: (151, 9),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "strict",
                    position: (151, 26),
                   },
                  ],
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "ProtectHome",
                    position: (152, 9),
                   },
                  ],
                 },
                 Variable {
                  identifier: "true",
                  position: (152, 23),
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "ProtectKernelTunables",
                    position: (153, 9),
                   },
                  ],
                 },
                 Variable {
                  identifier: "true",
                  position: (153, 33),
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "ProtectKernelModules",
                    position: (154, 9),
                   },
                  ],
                 },
                 Variable {
                  identifier: "true",
                  position: (154, 32),
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "ProtectControlGroups",
                    position: (155, 9),
                   },
                  ],
                 },
                 Variable {
                  identifier: "true",
                  position: (155, 32),
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "PrivateTmp",
                    position: (156, 9),
                   },
                  ],
                 },
                 Variable {
                  identifier: "true",
                  position: (156, 22),
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "EnvironmentFile",
                    position: (158, 9),
                   },
                  ],
                 },
                 PropertyAccess {
                  expression: Variable {
                   identifier: "cfg",
                   position: (158, 27),
                  },
                  attribute_path: AttributePath {
                   attributes: [
                    Raw {
                     content: "environmentFile",
                     position: (158, 31),
                    },
                   ],
                  },
                  default: None,
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "ExecStart",
                    position: (160, 9),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "",
                    position: (161, 1),
                   },
                   Expression {
                    expression: PropertyAccess {
                     expression: Variable {
                      identifier: "pkgs",
                      position: (161, 13),
                     },
                     attribute_path: AttributePath {
                      attributes: [
                       Raw {
                        content: "mautrix-facebook",
                        position: (161, 18),
                       },
                      ],
                     },
                     default: None,
                    },
                   },
                   Raw {
                    content: "/bin/mautrix-facebook --config=",
                    position: (161, 35),
                   },
                   Expression {
                    expression: Variable {
                     identifier: "settingsFile",
                     position: (161, 68),
                    },
                   },
                   Raw {
                    content: "\n",
                    position: (161, 81),
                   },
                  ],
                 },
                ),
               ],
               recursive: false,
               position: (145, 23),
              },
             ),
            ],
            recursive: true,
            position: (137, 41),
           },
          ),
          KeyValue(
           AttributePath {
            attributes: [
             Raw {
              content: "services",
              position: (166, 5),
             },
             Raw {
              content: "mautrix-facebook",
              position: (166, 14),
             },
            ],
           },
           Map {
            bindings: [
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "registrationData",
                 position: (167, 7),
                },
               ],
              },
              Map {
               bindings: [
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "id",
                    position: (168, 9),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "mautrix-facebook",
                    position: (168, 15),
                   },
                  ],
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "namespaces",
                    position: (170, 9),
                   },
                  ],
                 },
                 Map {
                  bindings: [
                   KeyValue(
                    AttributePath {
                     attributes: [
                      Raw {
                       content: "users",
                       position: (171, 11),
                      },
                     ],
                    },
                    List {
                     elements: [
                      Map {
                       bindings: [
                        KeyValue(
                         AttributePath {
                          attributes: [
                           Raw {
                            content: "exclusive",
                            position: (173, 15),
                           },
                          ],
                         },
                         Variable {
                          identifier: "true",
                          position: (173, 27),
                         },
                        ),
                        KeyValue(
                         AttributePath {
                          attributes: [
                           Raw {
                            content: "regex",
                            position: (174, 15),
                           },
                          ],
                         },
                         FunctionApplication {
                          function: Variable {
                           identifier: "escapeRegex",
                           position: (174, 23),
                          },
                          arguments: [
                           String {
                            parts: [
                             Raw {
                              content: "@",
                              position: (174, 36),
                             },
                             Expression {
                              expression: PropertyAccess {
                               expression: Variable {
                                identifier: "cfg",
                                position: (174, 39),
                               },
                               attribute_path: AttributePath {
                                attributes: [
                                 Raw {
                                  content: "settings",
                                  position: (174, 43),
                                 },
                                 Raw {
                                  content: "appservice",
                                  position: (174, 52),
                                 },
                                 Raw {
                                  content: "bot_username",
                                  position: (174, 63),
                                 },
                                ],
                               },
                               default: None,
                              },
                             },
                             Raw {
                              content: ":",
                              position: (174, 76),
                             },
                             Expression {
                              expression: PropertyAccess {
                               expression: Variable {
                                identifier: "cfg",
                                position: (174, 79),
                               },
                               attribute_path: AttributePath {
                                attributes: [
                                 Raw {
                                  content: "settings",
                                  position: (174, 83),
                                 },
                                 Raw {
                                  content: "homeserver",
                                  position: (174, 92),
                                 },
                                 Raw {
                                  content: "domain",
                                  position: (174, 103),
                                 },
                                ],
                               },
                               default: None,
                              },
                             },
                            ],
                           },
                          ],
                         },
                        ),
                       ],
                       recursive: false,
                       position: (172, 13),
                      },
                      Map {
                       bindings: [
                        KeyValue(
                         AttributePath {
                          attributes: [
                           Raw {
                            content: "exclusive",
                            position: (177, 15),
                           },
                          ],
                         },
                         Variable {
                          identifier: "true",
                          position: (177, 27),
                         },
                        ),
                        KeyValue(
                         AttributePath {
                          attributes: [
                           Raw {
                            content: "regex",
                            position: (178, 15),
                           },
                          ],
                         },
                         String {
                          parts: [
                           Raw {
                            content: "@",
                            position: (178, 24),
                           },
                           Expression {
                            expression: Variable {
                             identifier: "puppetRegex",
                             position: (178, 27),
                            },
                           },
                           Raw {
                            content: ":",
                            position: (178, 39),
                           },
                           Expression {
                            expression: FunctionApplication {
                             function: Variable {
                              identifier: "escapeRegex",
                              position: (178, 42),
                             },
                             arguments: [
                              PropertyAccess {
                               expression: Variable {
                                identifier: "cfg",
                                position: (178, 54),
                               },
                               attribute_path: AttributePath {
                                attributes: [
                                 Raw {
                                  content: "settings",
                                  position: (178, 58),
                                 },
                                 Raw {
                                  content: "homeserver",
                                  position: (178, 67),
                                 },
                                 Raw {
                                  content: "domain",
                                  position: (178, 78),
                                 },
                                ],
                               },
                               default: None,
                              },
                             ],
                            },
                           },
                          ],
                         },
                        ),
                       ],
                       recursive: false,
                       position: (176, 13),
                      },
                     ],
                     position: (171, 19),
                    },
                   ),
                   KeyValue(
                    AttributePath {
                     attributes: [
                      Raw {
                       content: "aliases",
                       position: (181, 11),
                      },
                     ],
                    },
                    List {
                     elements: [],
                     position: (181, 21),
                    },
                   ),
                  ],
                  recursive: false,
                  position: (170, 22),
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "url",
                    position: (184, 9),
                   },
                  ],
                 },
                 PropertyAccess {
                  expression: Variable {
                   identifier: "cfg",
                   position: (184, 15),
                  },
                  attribute_path: AttributePath {
                   attributes: [
                    Raw {
                     content: "settings",
                     position: (184, 19),
                    },
                    Raw {
                     content: "appservice",
                     position: (184, 28),
                    },
                    Raw {
                     content: "address",
                     position: (184, 39),
                    },
                   ],
                  },
                  default: None,
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "sender_localpart",
                    position: (185, 9),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "mautrix-facebook-sender",
                    position: (185, 29),
                   },
                  ],
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "rate_limited",
                    position: (187, 9),
                   },
                  ],
                 },
                 Variable {
                  identifier: "false",
                  position: (187, 24),
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Expression {
                    expression: String {
                     parts: [
                      Raw {
                       content: "de.sorunome.msc2409.push_ephemeral",
                       position: (188, 10),
                      },
                     ],
                    },
                   },
                  ],
                 },
                 Variable {
                  identifier: "true",
                  position: (188, 48),
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "push_ephemeral",
                    position: (189, 9),
                   },
                  ],
                 },
                 Variable {
                  identifier: "true",
                  position: (189, 26),
                 },
                ),
               ],
               recursive: false,
               position: (167, 26),
              },
             ),
            ],
            recursive: false,
            position: (166, 33),
           },
          ),
         ],
         recursive: false,
         position: (121, 28),
        },
       ],
      },
     ),
     KeyValue(
      AttributePath {
       attributes: [
        Raw {
         content: "meta",
         position: (194, 3),
        },
        Raw {
         content: "maintainers",
         position: (194, 8),
        },
       ],
      },
      With {
       expression: Variable {
        identifier: "maintainers",
        position: (194, 27),
       },
       target: List {
        elements: [
         Variable {
          identifier: "kevincox",
          position: (194, 42),
         },
        ],
        position: (194, 40),
       },
       position: (194, 22),
      },
     ),
    ],
    recursive: false,
    position: (17, 4),
   },
   position: (5, 1),
  },
  position: (3, 1),
 },
 position: (1, 1),
}