---
Function {
 argument: None,
 arguments: FunctionArguments {
  arguments: [
   FunctionArgument {
    identifier: "pkgs",
    default: None,
   },
   FunctionArgument {
    identifier: "options",
    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: (5, 3),
       },
      ],
     },
     PropertyAccess {
      expression: Variable {
       identifier: "config",
       position: (5, 9),
      },
      attribute_path: AttributePath {
       attributes: [
        Raw {
         content: "services",
         position: (5, 16),
        },
        Raw {
         content: "sourcehut",
         position: (5, 25),
        },
       ],
      },
      default: None,
     },
    ),
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "opt",
        position: (6, 3),
       },
      ],
     },
     PropertyAccess {
      expression: Variable {
       identifier: "options",
       position: (6, 9),
      },
      attribute_path: AttributePath {
       attributes: [
        Raw {
         content: "services",
         position: (6, 17),
        },
        Raw {
         content: "sourcehut",
         position: (6, 26),
        },
       ],
      },
      default: None,
     },
    ),
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "cfgIni",
        position: (7, 3),
       },
      ],
     },
     PropertyAccess {
      expression: Variable {
       identifier: "cfg",
       position: (7, 12),
      },
      attribute_path: AttributePath {
       attributes: [
        Raw {
         content: "settings",
         position: (7, 16),
        },
       ],
      },
      default: None,
     },
    ),
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "scfg",
        position: (8, 3),
       },
      ],
     },
     PropertyAccess {
      expression: Variable {
       identifier: "cfg",
       position: (8, 10),
      },
      attribute_path: AttributePath {
       attributes: [
        Raw {
         content: "hub",
         position: (8, 14),
        },
       ],
      },
      default: None,
     },
    ),
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "iniKey",
        position: (9, 3),
       },
      ],
     },
     String {
      parts: [
       Raw {
        content: "hub.sr.ht",
        position: (9, 13),
       },
      ],
     },
    ),
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "drv",
        position: (11, 3),
       },
      ],
     },
     PropertyAccess {
      expression: Variable {
       identifier: "pkgs",
       position: (11, 9),
      },
      attribute_path: AttributePath {
       attributes: [
        Raw {
         content: "sourcehut",
         position: (11, 14),
        },
        Raw {
         content: "hubsrht",
         position: (11, 24),
        },
       ],
      },
      default: None,
     },
    ),
   ],
   target: Map {
    bindings: [
     KeyValue(
      AttributePath {
       attributes: [
        Raw {
         content: "options",
         position: (14, 3),
        },
        Raw {
         content: "services",
         position: (14, 11),
        },
        Raw {
         content: "sourcehut",
         position: (14, 20),
        },
        Raw {
         content: "hub",
         position: (14, 30),
        },
       ],
      },
      Map {
       bindings: [
        KeyValue(
         AttributePath {
          attributes: [
           Raw {
            content: "user",
            position: (15, 5),
           },
          ],
         },
         FunctionApplication {
          function: Variable {
           identifier: "mkOption",
           position: (15, 12),
          },
          arguments: [
           Map {
            bindings: [
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "type",
                 position: (16, 7),
                },
               ],
              },
              PropertyAccess {
               expression: Variable {
                identifier: "types",
                position: (16, 14),
               },
               attribute_path: AttributePath {
                attributes: [
                 Raw {
                  content: "str",
                  position: (16, 20),
                 },
                ],
               },
               default: None,
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "default",
                 position: (17, 7),
                },
               ],
              },
              String {
               parts: [
                Raw {
                 content: "hubsrht",
                 position: (17, 18),
                },
               ],
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "description",
                 position: (18, 7),
                },
               ],
              },
              String {
               parts: [
                Raw {
                 content: "User for hub.sr.ht.\n",
                 position: (19, 1),
                },
               ],
              },
             ),
            ],
            recursive: false,
            position: (15, 21),
           },
          ],
         },
        ),
        KeyValue(
         AttributePath {
          attributes: [
           Raw {
            content: "port",
            position: (23, 5),
           },
          ],
         },
         FunctionApplication {
          function: Variable {
           identifier: "mkOption",
           position: (23, 12),
          },
          arguments: [
           Map {
            bindings: [
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "type",
                 position: (24, 7),
                },
               ],
              },
              PropertyAccess {
               expression: Variable {
                identifier: "types",
                position: (24, 14),
               },
               attribute_path: AttributePath {
                attributes: [
                 Raw {
                  content: "port",
                  position: (24, 20),
                 },
                ],
               },
               default: None,
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "default",
                 position: (25, 7),
                },
               ],
              },
              Int {
               value: 5014,
               position: (25, 17),
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "description",
                 position: (26, 7),
                },
               ],
              },
              String {
               parts: [
                Raw {
                 content: "Port on which the \"hub\" module should listen.\n",
                 position: (27, 1),
                },
               ],
              },
             ),
            ],
            recursive: false,
            position: (23, 21),
           },
          ],
         },
        ),
        KeyValue(
         AttributePath {
          attributes: [
           Raw {
            content: "database",
            position: (31, 5),
           },
          ],
         },
         FunctionApplication {
          function: Variable {
           identifier: "mkOption",
           position: (31, 16),
          },
          arguments: [
           Map {
            bindings: [
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "type",
                 position: (32, 7),
                },
               ],
              },
              PropertyAccess {
               expression: Variable {
                identifier: "types",
                position: (32, 14),
               },
               attribute_path: AttributePath {
                attributes: [
                 Raw {
                  content: "str",
                  position: (32, 20),
                 },
                ],
               },
               default: None,
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "default",
                 position: (33, 7),
                },
               ],
              },
              String {
               parts: [
                Raw {
                 content: "hub.sr.ht",
                 position: (33, 18),
                },
               ],
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "description",
                 position: (34, 7),
                },
               ],
              },
              String {
               parts: [
                Raw {
                 content: "PostgreSQL database name for hub.sr.ht.\n",
                 position: (35, 1),
                },
               ],
              },
             ),
            ],
            recursive: false,
            position: (31, 25),
           },
          ],
         },
        ),
        KeyValue(
         AttributePath {
          attributes: [
           Raw {
            content: "statePath",
            position: (39, 5),
           },
          ],
         },
         FunctionApplication {
          function: Variable {
           identifier: "mkOption",
           position: (39, 17),
          },
          arguments: [
           Map {
            bindings: [
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "type",
                 position: (40, 7),
                },
               ],
              },
              PropertyAccess {
               expression: Variable {
                identifier: "types",
                position: (40, 14),
               },
               attribute_path: AttributePath {
                attributes: [
                 Raw {
                  content: "path",
                  position: (40, 20),
                 },
                ],
               },
               default: None,
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "default",
                 position: (41, 7),
                },
               ],
              },
              String {
               parts: [
                Expression {
                 expression: PropertyAccess {
                  expression: Variable {
                   identifier: "cfg",
                   position: (41, 20),
                  },
                  attribute_path: AttributePath {
                   attributes: [
                    Raw {
                     content: "statePath",
                     position: (41, 24),
                    },
                   ],
                  },
                  default: None,
                 },
                },
                Raw {
                 content: "/hubsrht",
                 position: (41, 34),
                },
               ],
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "defaultText",
                 position: (42, 7),
                },
               ],
              },
              FunctionApplication {
               function: Variable {
                identifier: "literalExpression",
                position: (42, 21),
               },
               arguments: [
                String {
                 parts: [
                  Raw {
                   content: "\"",
                   position: (42, 41),
                  },
                  Raw {
                   content: "$",
                   position: (42, 42),
                  },
                  Raw {
                   content: "{config.",
                   position: (42, 45),
                  },
                  Expression {
                   expression: PropertyAccess {
                    expression: Variable {
                     identifier: "opt",
                     position: (42, 55),
                    },
                    attribute_path: AttributePath {
                     attributes: [
                      Raw {
                       content: "statePath",
                       position: (42, 59),
                      },
                     ],
                    },
                    default: None,
                   },
                  },
                  Raw {
                   content: "}/hubsrht\"",
                   position: (42, 69),
                  },
                 ],
                },
               ],
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "description",
                 position: (43, 7),
                },
               ],
              },
              String {
               parts: [
                Raw {
                 content: "State path for hub.sr.ht.\n",
                 position: (44, 1),
                },
               ],
              },
             ),
            ],
            recursive: false,
            position: (39, 26),
           },
          ],
         },
        ),
       ],
       recursive: false,
       position: (14, 36),
      },
     ),
     KeyValue(
      AttributePath {
       attributes: [
        Raw {
         content: "config",
         position: (49, 3),
        },
       ],
      },
      With {
       expression: Variable {
        identifier: "scfg",
        position: (49, 17),
       },
       target: FunctionApplication {
        function: PropertyAccess {
         expression: Variable {
          identifier: "lib",
          position: (49, 23),
         },
         attribute_path: AttributePath {
          attributes: [
           Raw {
            content: "mkIf",
            position: (49, 27),
           },
          ],
         },
         default: None,
        },
        arguments: [
         BinaryOperation {
          operator: LogicalAnd,
          operands: [
           PropertyAccess {
            expression: Variable {
             identifier: "cfg",
             position: (49, 33),
            },
            attribute_path: AttributePath {
             attributes: [
              Raw {
               content: "enable",
               position: (49, 37),
              },
             ],
            },
            default: None,
           },
           FunctionApplication {
            function: Variable {
             identifier: "elem",
             position: (49, 47),
            },
            arguments: [
             String {
              parts: [
               Raw {
                content: "hub",
                position: (49, 53),
               },
              ],
             },
             PropertyAccess {
              expression: Variable {
               identifier: "cfg",
               position: (49, 58),
              },
              attribute_path: AttributePath {
               attributes: [
                Raw {
                 content: "services",
                 position: (49, 62),
                },
               ],
              },
              default: None,
             },
            ],
           },
          ],
          position: (49, 44),
         },
         Map {
          bindings: [
           KeyValue(
            AttributePath {
             attributes: [
              Raw {
               content: "users",
               position: (50, 5),
              },
             ],
            },
            Map {
             bindings: [
              KeyValue(
               AttributePath {
                attributes: [
                 Raw {
                  content: "users",
                  position: (51, 7),
                 },
                ],
               },
               Map {
                bindings: [
                 KeyValue(
                  AttributePath {
                   attributes: [
                    Expression {
                     expression: String {
                      parts: [
                       Expression {
                        expression: Variable {
                         identifier: "user",
                         position: (52, 12),
                        },
                       },
                      ],
                     },
                    },
                   ],
                  },
                  Map {
                   bindings: [
                    KeyValue(
                     AttributePath {
                      attributes: [
                       Raw {
                        content: "isSystemUser",
                        position: (53, 11),
                       },
                      ],
                     },
                     Variable {
                      identifier: "true",
                      position: (53, 26),
                     },
                    ),
                    KeyValue(
                     AttributePath {
                      attributes: [
                       Raw {
                        content: "group",
                        position: (54, 11),
                       },
                      ],
                     },
                     Variable {
                      identifier: "user",
                      position: (54, 19),
                     },
                    ),
                    KeyValue(
                     AttributePath {
                      attributes: [
                       Raw {
                        content: "description",
                        position: (55, 11),
                       },
                      ],
                     },
                     String {
                      parts: [
                       Raw {
                        content: "hub.sr.ht user",
                        position: (55, 26),
                       },
                      ],
                     },
                    ),
                   ],
                   recursive: false,
                   position: (52, 21),
                  },
                 ),
                ],
                recursive: false,
                position: (51, 15),
               },
              ),
              KeyValue(
               AttributePath {
                attributes: [
                 Raw {
                  content: "groups",
                  position: (59, 7),
                 },
                ],
               },
               Map {
                bindings: [
                 KeyValue(
                  AttributePath {
                   attributes: [
                    Expression {
                     expression: String {
                      parts: [
                       Expression {
                        expression: Variable {
                         identifier: "user",
                         position: (60, 12),
                        },
                       },
                      ],
                     },
                    },
                   ],
                  },
                  Map {
                   bindings: [],
                   recursive: false,
                   position: (60, 21),
                  },
                 ),
                ],
                recursive: false,
                position: (59, 16),
               },
              ),
             ],
             recursive: false,
             position: (50, 13),
            },
           ),
           KeyValue(
            AttributePath {
             attributes: [
              Raw {
               content: "services",
               position: (64, 5),
              },
              Raw {
               content: "postgresql",
               position: (64, 14),
              },
             ],
            },
            Map {
             bindings: [
              KeyValue(
               AttributePath {
                attributes: [
                 Raw {
                  content: "authentication",
                  position: (65, 7),
                 },
                ],
               },
               String {
                parts: [
                 Raw {
                  content: "local ",
                  position: (66, 1),
                 },
                 Expression {
                  expression: Variable {
                   identifier: "database",
                   position: (66, 17),
                  },
                 },
                 Raw {
                  content: " ",
                  position: (66, 26),
                 },
                 Expression {
                  expression: Variable {
                   identifier: "user",
                   position: (66, 29),
                  },
                 },
                 Raw {
                  content: " trust\n",
                  position: (66, 34),
                 },
                ],
               },
              ),
              KeyValue(
               AttributePath {
                attributes: [
                 Raw {
                  content: "ensureDatabases",
                  position: (68, 7),
                 },
                ],
               },
               List {
                elements: [
                 Variable {
                  identifier: "database",
                  position: (68, 27),
                 },
                ],
                position: (68, 25),
               },
              ),
              KeyValue(
               AttributePath {
                attributes: [
                 Raw {
                  content: "ensureUsers",
                  position: (69, 7),
                 },
                ],
               },
               List {
                elements: [
                 Map {
                  bindings: [
                   KeyValue(
                    AttributePath {
                     attributes: [
                      Raw {
                       content: "name",
                       position: (71, 11),
                      },
                     ],
                    },
                    Variable {
                     identifier: "user",
                     position: (71, 18),
                    },
                   ),
                   KeyValue(
                    AttributePath {
                     attributes: [
                      Raw {
                       content: "ensurePermissions",
                       position: (72, 11),
                      },
                     ],
                    },
                    Map {
                     bindings: [
                      KeyValue(
                       AttributePath {
                        attributes: [
                         Expression {
                          expression: String {
                           parts: [
                            Raw {
                             content: "DATABASE \"",
                             position: (72, 34),
                            },
                            Expression {
                             expression: Variable {
                              identifier: "database",
                              position: (72, 47),
                             },
                            },
                            Raw {
                             content: "\"",
                             position: (72, 56),
                            },
                           ],
                          },
                         },
                        ],
                       },
                       String {
                        parts: [
                         Raw {
                          content: "ALL PRIVILEGES",
                          position: (72, 63),
                         },
                        ],
                       },
                      ),
                     ],
                     recursive: false,
                     position: (72, 31),
                    },
                   ),
                  ],
                  recursive: false,
                  position: (70, 9),
                 },
                ],
                position: (69, 21),
               },
              ),
             ],
             recursive: false,
             position: (64, 27),
            },
           ),
           KeyValue(
            AttributePath {
             attributes: [
              Raw {
               content: "systemd",
               position: (77, 5),
              },
             ],
            },
            Map {
             bindings: [
              KeyValue(
               AttributePath {
                attributes: [
                 Raw {
                  content: "tmpfiles",
                  position: (78, 7),
                 },
                 Raw {
                  content: "rules",
                  position: (78, 16),
                 },
                ],
               },
               List {
                elements: [
                 String {
                  parts: [
                   Raw {
                    content: "d ",
                    position: (79, 10),
                   },
                   Expression {
                    expression: Variable {
                     identifier: "statePath",
                     position: (79, 14),
                    },
                   },
                   Raw {
                    content: " 0750 ",
                    position: (79, 24),
                   },
                   Expression {
                    expression: Variable {
                     identifier: "user",
                     position: (79, 32),
                    },
                   },
                   Raw {
                    content: " ",
                    position: (79, 37),
                   },
                   Expression {
                    expression: Variable {
                     identifier: "user",
                     position: (79, 40),
                    },
                   },
                   Raw {
                    content: " -",
                    position: (79, 45),
                   },
                  ],
                 },
                ],
                position: (78, 24),
               },
              ),
              KeyValue(
               AttributePath {
                attributes: [
                 Raw {
                  content: "services",
                  position: (82, 7),
                 },
                 Raw {
                  content: "hubsrht",
                  position: (82, 16),
                 },
                ],
               },
               FunctionApplication {
                function: Variable {
                 identifier: "import",
                 position: (82, 26),
                },
                arguments: [
                 Path {
                  parts: [
                   Raw {
                    content: "./service.nix",
                    position: (82, 33),
                   },
                  ],
                 },
                 Map {
                  bindings: [
                   Inherit(
                    None,
                    [
                     Raw {
                      content: "config",
                      position: (82, 57),
                     },
                     Raw {
                      content: "pkgs",
                      position: (82, 64),
                     },
                     Raw {
                      content: "lib",
                      position: (82, 69),
                     },
                    ],
                   ),
                  ],
                  recursive: false,
                  position: (82, 47),
                 },
                 Variable {
                  identifier: "scfg",
                  position: (82, 76),
                 },
                 Variable {
                  identifier: "drv",
                  position: (82, 81),
                 },
                 Variable {
                  identifier: "iniKey",
                  position: (82, 85),
                 },
                 Map {
                  bindings: [
                   KeyValue(
                    AttributePath {
                     attributes: [
                      Raw {
                       content: "after",
                       position: (83, 9),
                      },
                     ],
                    },
                    List {
                     elements: [
                      String {
                       parts: [
                        Raw {
                         content: "postgresql.service",
                         position: (83, 20),
                        },
                       ],
                      },
                      String {
                       parts: [
                        Raw {
                         content: "network.target",
                         position: (83, 41),
                        },
                       ],
                      },
                     ],
                     position: (83, 17),
                    },
                   ),
                   KeyValue(
                    AttributePath {
                     attributes: [
                      Raw {
                       content: "requires",
                       position: (84, 9),
                      },
                     ],
                    },
                    List {
                     elements: [
                      String {
                       parts: [
                        Raw {
                         content: "postgresql.service",
                         position: (84, 23),
                        },
                       ],
                      },
                     ],
                     position: (84, 20),
                    },
                   ),
                   KeyValue(
                    AttributePath {
                     attributes: [
                      Raw {
                       content: "wantedBy",
                       position: (85, 9),
                      },
                     ],
                    },
                    List {
                     elements: [
                      String {
                       parts: [
                        Raw {
                         content: "multi-user.target",
                         position: (85, 23),
                        },
                       ],
                      },
                     ],
                     position: (85, 20),
                    },
                   ),
                   KeyValue(
                    AttributePath {
                     attributes: [
                      Raw {
                       content: "description",
                       position: (87, 9),
                      },
                     ],
                    },
                    String {
                     parts: [
                      Raw {
                       content: "hub.sr.ht website service",
                       position: (87, 24),
                      },
                     ],
                    },
                   ),
                   KeyValue(
                    AttributePath {
                     attributes: [
                      Raw {
                       content: "serviceConfig",
                       position: (89, 9),
                      },
                      Raw {
                       content: "ExecStart",
                       position: (89, 23),
                      },
                     ],
                    },
                    String {
                     parts: [
                      Expression {
                       expression: PropertyAccess {
                        expression: Variable {
                         identifier: "cfg",
                         position: (89, 38),
                        },
                        attribute_path: AttributePath {
                         attributes: [
                          Raw {
                           content: "python",
                           position: (89, 42),
                          },
                         ],
                        },
                        default: None,
                       },
                      },
                      Raw {
                       content: "/bin/gunicorn ",
                       position: (89, 49),
                      },
                      Expression {
                       expression: PropertyAccess {
                        expression: Variable {
                         identifier: "drv",
                         position: (89, 65),
                        },
                        attribute_path: AttributePath {
                         attributes: [
                          Raw {
                           content: "pname",
                           position: (89, 69),
                          },
                         ],
                        },
                        default: None,
                       },
                      },
                      Raw {
                       content: ".app:app -b ",
                       position: (89, 75),
                      },
                      Expression {
                       expression: PropertyAccess {
                        expression: Variable {
                         identifier: "cfg",
                         position: (89, 89),
                        },
                        attribute_path: AttributePath {
                         attributes: [
                          Raw {
                           content: "address",
                           position: (89, 93),
                          },
                         ],
                        },
                        default: None,
                       },
                      },
                      Raw {
                       content: ":",
                       position: (89, 101),
                      },
                      Expression {
                       expression: FunctionApplication {
                        function: Variable {
                         identifier: "toString",
                         position: (89, 104),
                        },
                        arguments: [
                         Variable {
                          identifier: "port",
                          position: (89, 113),
                         },
                        ],
                       },
                      },
                     ],
                    },
                   ),
                  ],
                  recursive: false,
                  position: (82, 92),
                 },
                ],
               },
              ),
             ],
             recursive: false,
             position: (77, 15),
            },
           ),
           KeyValue(
            AttributePath {
             attributes: [
              Raw {
               content: "services",
               position: (93, 5),
              },
              Raw {
               content: "sourcehut",
               position: (93, 14),
              },
              Raw {
               content: "settings",
               position: (93, 24),
              },
             ],
            },
            Map {
             bindings: [
              KeyValue(
               AttributePath {
                attributes: [
                 Expression {
                  expression: String {
                   parts: [
                    Raw {
                     content: "hub.sr.ht",
                     position: (95, 8),
                    },
                   ],
                  },
                 },
                 Raw {
                  content: "origin",
                  position: (95, 19),
                 },
                ],
               },
               FunctionApplication {
                function: Variable {
                 identifier: "mkDefault",
                 position: (95, 28),
                },
                arguments: [
                 String {
                  parts: [
                   Raw {
                    content: "http://hub.",
                    position: (95, 39),
                   },
                   Expression {
                    expression: PropertyAccess {
                     expression: Variable {
                      identifier: "cfg",
                      position: (95, 52),
                     },
                     attribute_path: AttributePath {
                      attributes: [
                       Raw {
                        content: "originBase",
                        position: (95, 56),
                       },
                      ],
                     },
                     default: None,
                    },
                   },
                  ],
                 },
                ],
               },
              ),
              KeyValue(
               AttributePath {
                attributes: [
                 Expression {
                  expression: String {
                   parts: [
                    Raw {
                     content: "hub.sr.ht",
                     position: (97, 8),
                    },
                   ],
                  },
                 },
                 Raw {
                  content: "debug-host",
                  position: (97, 19),
                 },
                ],
               },
               FunctionApplication {
                function: Variable {
                 identifier: "mkDefault",
                 position: (97, 32),
                },
                arguments: [
                 String {
                  parts: [
                   Raw {
                    content: "0.0.0.0",
                    position: (97, 43),
                   },
                  ],
                 },
                ],
               },
              ),
              KeyValue(
               AttributePath {
                attributes: [
                 Expression {
                  expression: String {
                   parts: [
                    Raw {
                     content: "hub.sr.ht",
                     position: (98, 8),
                    },
                   ],
                  },
                 },
                 Raw {
                  content: "debug-port",
                  position: (98, 19),
                 },
                ],
               },
               FunctionApplication {
                function: Variable {
                 identifier: "mkDefault",
                 position: (98, 32),
                },
                arguments: [
                 Variable {
                  identifier: "port",
                  position: (98, 42),
                 },
                ],
               },
              ),
              KeyValue(
               AttributePath {
                attributes: [
                 Expression {
                  expression: String {
                   parts: [
                    Raw {
                     content: "hub.sr.ht",
                     position: (100, 8),
                    },
                   ],
                  },
                 },
                 Raw {
                  content: "connection-string",
                  position: (100, 19),
                 },
                ],
               },
               FunctionApplication {
                function: Variable {
                 identifier: "mkDefault",
                 position: (100, 39),
                },
                arguments: [
                 String {
                  parts: [
                   Raw {
                    content: "postgresql:///",
                    position: (100, 50),
                   },
                   Expression {
                    expression: Variable {
                     identifier: "database",
                     position: (100, 66),
                    },
                   },
                   Raw {
                    content: "?user=",
                    position: (100, 75),
                   },
                   Expression {
                    expression: Variable {
                     identifier: "user",
                     position: (100, 83),
                    },
                   },
                   Raw {
                    content: "&host=/var/run/postgresql",
                    position: (100, 88),
                   },
                  ],
                 },
                ],
               },
              ),
              KeyValue(
               AttributePath {
                attributes: [
                 Expression {
                  expression: String {
                   parts: [
                    Raw {
                     content: "hub.sr.ht",
                     position: (102, 8),
                    },
                   ],
                  },
                 },
                 Raw {
                  content: "migrate-on-upgrade",
                  position: (102, 19),
                 },
                ],
               },
               FunctionApplication {
                function: Variable {
                 identifier: "mkDefault",
                 position: (102, 40),
                },
                arguments: [
                 String {
                  parts: [
                   Raw {
                    content: "yes",
                    position: (102, 51),
                   },
                  ],
                 },
                ],
               },
              ),
              KeyValue(
               AttributePath {
                attributes: [
                 Expression {
                  expression: String {
                   parts: [
                    Raw {
                     content: "hub.sr.ht",
                     position: (105, 8),
                    },
                   ],
                  },
                 },
                 Raw {
                  content: "oauth-client-id",
                  position: (105, 19),
                 },
                ],
               },
               FunctionApplication {
                function: Variable {
                 identifier: "mkDefault",
                 position: (105, 37),
                },
                arguments: [
                 Variable {
                  identifier: "null",
                  position: (105, 47),
                 },
                ],
               },
              ),
              KeyValue(
               AttributePath {
                attributes: [
                 Expression {
                  expression: String {
                   parts: [
                    Raw {
                     content: "hub.sr.ht",
                     position: (106, 8),
                    },
                   ],
                  },
                 },
                 Raw {
                  content: "oauth-client-secret",
                  position: (106, 19),
                 },
                ],
               },
               FunctionApplication {
                function: Variable {
                 identifier: "mkDefault",
                 position: (106, 41),
                },
                arguments: [
                 Variable {
                  identifier: "null",
                  position: (106, 51),
                 },
                ],
               },
              ),
             ],
             recursive: false,
             position: (93, 35),
            },
           ),
           KeyValue(
            AttributePath {
             attributes: [
              Raw {
               content: "services",
               position: (109, 5),
              },
              Raw {
               content: "nginx",
               position: (109, 14),
              },
              Raw {
               content: "virtualHosts",
               position: (109, 20),
              },
              Expression {
               expression: String {
                parts: [
                 Expression {
                  expression: PropertyAccess {
                   expression: Variable {
                    identifier: "cfg",
                    position: (109, 36),
                   },
                   attribute_path: AttributePath {
                    attributes: [
                     Raw {
                      content: "originBase",
                      position: (109, 40),
                     },
                    ],
                   },
                   default: None,
                  },
                 },
                ],
               },
              },
             ],
            },
            Map {
             bindings: [
              KeyValue(
               AttributePath {
                attributes: [
                 Raw {
                  content: "forceSSL",
                  position: (110, 7),
                 },
                ],
               },
               Variable {
                identifier: "true",
                position: (110, 18),
               },
              ),
              KeyValue(
               AttributePath {
                attributes: [
                 Raw {
                  content: "locations",
                  position: (111, 7),
                 },
                 Expression {
                  expression: String {
                   parts: [
                    Raw {
                     content: "/",
                     position: (111, 18),
                    },
                   ],
                  },
                 },
                 Raw {
                  content: "proxyPass",
                  position: (111, 21),
                 },
                ],
               },
               String {
                parts: [
                 Raw {
                  content: "http://",
                  position: (111, 34),
                 },
                 Expression {
                  expression: PropertyAccess {
                   expression: Variable {
                    identifier: "cfg",
                    position: (111, 43),
                   },
                   attribute_path: AttributePath {
                    attributes: [
                     Raw {
                      content: "address",
                      position: (111, 47),
                     },
                    ],
                   },
                   default: None,
                  },
                 },
                 Raw {
                  content: ":",
                  position: (111, 55),
                 },
                 Expression {
                  expression: FunctionApplication {
                   function: Variable {
                    identifier: "toString",
                    position: (111, 58),
                   },
                   arguments: [
                    Variable {
                     identifier: "port",
                     position: (111, 67),
                    },
                   ],
                  },
                 },
                ],
               },
              ),
              KeyValue(
               AttributePath {
                attributes: [
                 Raw {
                  content: "locations",
                  position: (112, 7),
                 },
                 Expression {
                  expression: String {
                   parts: [
                    Raw {
                     content: "/query",
                     position: (112, 18),
                    },
                   ],
                  },
                 },
                 Raw {
                  content: "proxyPass",
                  position: (112, 26),
                 },
                ],
               },
               String {
                parts: [
                 Raw {
                  content: "http://",
                  position: (112, 39),
                 },
                 Expression {
                  expression: PropertyAccess {
                   expression: Variable {
                    identifier: "cfg",
                    position: (112, 48),
                   },
                   attribute_path: AttributePath {
                    attributes: [
                     Raw {
                      content: "address",
                      position: (112, 52),
                     },
                    ],
                   },
                   default: None,
                  },
                 },
                 Raw {
                  content: ":",
                  position: (112, 60),
                 },
                 Expression {
                  expression: FunctionApplication {
                   function: Variable {
                    identifier: "toString",
                    position: (112, 63),
                   },
                   arguments: [
                    BinaryOperation {
                     operator: Addition,
                     operands: [
                      Variable {
                       identifier: "port",
                       position: (112, 73),
                      },
                      Int {
                       value: 100,
                       position: (112, 80),
                      },
                     ],
                     position: (112, 78),
                    },
                   ],
                  },
                 },
                ],
               },
              ),
              KeyValue(
               AttributePath {
                attributes: [
                 Raw {
                  content: "locations",
                  position: (113, 7),
                 },
                 Expression {
                  expression: String {
                   parts: [
                    Raw {
                     content: "/static",
                     position: (113, 18),
                    },
                   ],
                  },
                 },
                 Raw {
                  content: "root",
                  position: (113, 27),
                 },
                ],
               },
               String {
                parts: [
                 Expression {
                  expression: PropertyAccess {
                   expression: Variable {
                    identifier: "pkgs",
                    position: (113, 37),
                   },
                   attribute_path: AttributePath {
                    attributes: [
                     Raw {
                      content: "sourcehut",
                      position: (113, 42),
                     },
                     Raw {
                      content: "hubsrht",
                      position: (113, 52),
                     },
                    ],
                   },
                   default: None,
                  },
                 },
                 Raw {
                  content: "/",
                  position: (113, 60),
                 },
                 Expression {
                  expression: PropertyAccess {
                   expression: Variable {
                    identifier: "pkgs",
                    position: (113, 63),
                   },
                   attribute_path: AttributePath {
                    attributes: [
                     Raw {
                      content: "sourcehut",
                      position: (113, 68),
                     },
                     Raw {
                      content: "python",
                      position: (113, 78),
                     },
                     Raw {
                      content: "sitePackages",
                      position: (113, 85),
                     },
                    ],
                   },
                   default: None,
                  },
                 },
                 Raw {
                  content: "/hubsrht",
                  position: (113, 98),
                 },
                ],
               },
              ),
             ],
             recursive: false,
             position: (109, 55),
            },
           ),
           KeyValue(
            AttributePath {
             attributes: [
              Raw {
               content: "services",
               position: (115, 5),
              },
              Raw {
               content: "nginx",
               position: (115, 14),
              },
              Raw {
               content: "virtualHosts",
               position: (115, 20),
              },
              Expression {
               expression: String {
                parts: [
                 Raw {
                  content: "hub.",
                  position: (115, 34),
                 },
                 Expression {
                  expression: PropertyAccess {
                   expression: Variable {
                    identifier: "cfg",
                    position: (115, 40),
                   },
                   attribute_path: AttributePath {
                    attributes: [
                     Raw {
                      content: "originBase",
                      position: (115, 44),
                     },
                    ],
                   },
                   default: None,
                  },
                 },
                ],
               },
              },
             ],
            },
            Map {
             bindings: [
              KeyValue(
               AttributePath {
                attributes: [
                 Raw {
                  content: "globalRedirect",
                  position: (116, 7),
                 },
                ],
               },
               String {
                parts: [
                 Expression {
                  expression: PropertyAccess {
                   expression: Variable {
                    identifier: "cfg",
                    position: (116, 27),
                   },
                   attribute_path: AttributePath {
                    attributes: [
                     Raw {
                      content: "originBase",
                      position: (116, 31),
                     },
                    ],
                   },
                   default: None,
                  },
                 },
                ],
               },
              ),
              KeyValue(
               AttributePath {
                attributes: [
                 Raw {
                  content: "forceSSL",
                  position: (117, 7),
                 },
                ],
               },
               Variable {
                identifier: "true",
                position: (117, 18),
               },
              ),
             ],
             recursive: false,
             position: (115, 59),
            },
           ),
          ],
          recursive: false,
          position: (49, 72),
         },
        ],
       },
       position: (49, 12),
      },
     ),
    ],
    recursive: false,
    position: (13, 1),
   },
   position: (4, 1),
  },
  position: (3, 1),
 },
 position: (1, 1),
}