---
Function {
 argument: Destructured {
  identifier: None,
  arguments: [
   DestructuredArgument {
    identifier: "config",
    default: None,
   },
   DestructuredArgument {
    identifier: "lib",
    default: None,
   },
   DestructuredArgument {
    identifier: "pkgs",
    default: None,
   },
  ],
  ellipsis: true,
 },
 definition: With {
  expression: Variable {
   identifier: "lib",
   position: (3, 6),
  },
  target: LetIn {
   bindings: [
    Binding {
     from: AttributePath {
      parts: [
       Raw {
        content: "cfg",
        position: (6, 3),
       },
      ],
     },
     to: PropertyAccess {
      expression: Variable {
       identifier: "config",
       position: (6, 9),
      },
      attribute_path: AttributePath {
       parts: [
        Raw {
         content: "services",
         position: (6, 16),
        },
        Raw {
         content: "mailhog",
         position: (6, 25),
        },
       ],
      },
      default: None,
     },
    },
    Binding {
     from: AttributePath {
      parts: [
       Raw {
        content: "args",
        position: (8, 3),
       },
      ],
     },
     to: FunctionApplication {
      function: PropertyAccess {
       expression: Variable {
        identifier: "lib",
        position: (8, 10),
       },
       attribute_path: AttributePath {
        parts: [
         Raw {
          content: "concatStringsSep",
          position: (8, 14),
         },
        ],
       },
       default: None,
      },
      arguments: [
       String {
        parts: [
         Raw {
          content: " ",
          position: (8, 32),
         },
        ],
        position: (8, 31),
       },
       Parentheses {
        expression: BinaryOperation {
         operator: Concatenation,
         operands: [
          List {
           elements: [
            String {
             parts: [
              Raw {
               content: "-api-bind-addr :",
               position: (10, 8),
              },
              Interpolation {
               expression: FunctionApplication {
                function: Variable {
                 identifier: "toString",
                 position: (10, 26),
                },
                arguments: [
                 PropertyAccess {
                  expression: Variable {
                   identifier: "cfg",
                   position: (10, 35),
                  },
                  attribute_path: AttributePath {
                   parts: [
                    Raw {
                     content: "apiPort",
                     position: (10, 39),
                    },
                   ],
                  },
                  default: None,
                 },
                ],
               },
              },
             ],
             position: (10, 7),
            },
            String {
             parts: [
              Raw {
               content: "-smtp-bind-addr :",
               position: (11, 8),
              },
              Interpolation {
               expression: FunctionApplication {
                function: Variable {
                 identifier: "toString",
                 position: (11, 27),
                },
                arguments: [
                 PropertyAccess {
                  expression: Variable {
                   identifier: "cfg",
                   position: (11, 36),
                  },
                  attribute_path: AttributePath {
                   parts: [
                    Raw {
                     content: "smtpPort",
                     position: (11, 40),
                    },
                   ],
                  },
                  default: None,
                 },
                ],
               },
              },
             ],
             position: (11, 7),
            },
            String {
             parts: [
              Raw {
               content: "-ui-bind-addr :",
               position: (12, 8),
              },
              Interpolation {
               expression: FunctionApplication {
                function: Variable {
                 identifier: "toString",
                 position: (12, 25),
                },
                arguments: [
                 PropertyAccess {
                  expression: Variable {
                   identifier: "cfg",
                   position: (12, 34),
                  },
                  attribute_path: AttributePath {
                   parts: [
                    Raw {
                     content: "uiPort",
                     position: (12, 38),
                    },
                   ],
                  },
                  default: None,
                 },
                ],
               },
              },
             ],
             position: (12, 7),
            },
            String {
             parts: [
              Raw {
               content: "-storage ",
               position: (13, 8),
              },
              Interpolation {
               expression: PropertyAccess {
                expression: Variable {
                 identifier: "cfg",
                 position: (13, 19),
                },
                attribute_path: AttributePath {
                 parts: [
                  Raw {
                   content: "storage",
                   position: (13, 23),
                  },
                 ],
                },
                default: None,
               },
              },
             ],
             position: (13, 7),
            },
           ],
           position: (9, 5),
          },
          BinaryOperation {
           operator: Concatenation,
           operands: [
            FunctionApplication {
             function: PropertyAccess {
              expression: Variable {
               identifier: "lib",
               position: (14, 10),
              },
              attribute_path: AttributePath {
               parts: [
                Raw {
                 content: "optional",
                 position: (14, 14),
                },
               ],
              },
              default: None,
             },
             arguments: [
              Parentheses {
               expression: BinaryOperation {
                operator: EqualTo,
                operands: [
                 PropertyAccess {
                  expression: Variable {
                   identifier: "cfg",
                   position: (14, 24),
                  },
                  attribute_path: AttributePath {
                   parts: [
                    Raw {
                     content: "storage",
                     position: (14, 28),
                    },
                   ],
                  },
                  default: None,
                 },
                 String {
                  parts: [
                   Raw {
                    content: "maildir",
                    position: (14, 40),
                   },
                  ],
                  position: (14, 39),
                 },
                ],
                position: (14, 36),
               },
               position: (14, 23),
              },
              String {
               parts: [
                Raw {
                 content: "-maildir-path $STATE_DIRECTORY",
                 position: (15, 8),
                },
               ],
               position: (15, 7),
              },
             ],
            },
            PropertyAccess {
             expression: Variable {
              identifier: "cfg",
              position: (16, 8),
             },
             attribute_path: AttributePath {
              parts: [
               Raw {
                content: "extraArgs",
                position: (16, 12),
               },
              ],
             },
             default: None,
            },
           ],
           position: (16, 5),
          },
         ],
         position: (14, 7),
        },
        position: (8, 35),
       },
      ],
     },
    },
   ],
   target: Map {
    bindings: [
     Binding {
      from: AttributePath {
       parts: [
        Raw {
         content: "imports",
         position: (23, 3),
        },
       ],
      },
      to: List {
       elements: [
        Parentheses {
         expression: FunctionApplication {
          function: Variable {
           identifier: "mkRemovedOptionModule",
           position: (24, 6),
          },
          arguments: [
           List {
            elements: [
             String {
              parts: [
               Raw {
                content: "services",
                position: (24, 31),
               },
              ],
              position: (24, 30),
             },
             String {
              parts: [
               Raw {
                content: "mailhog",
                position: (24, 42),
               },
              ],
              position: (24, 41),
             },
             String {
              parts: [
               Raw {
                content: "user",
                position: (24, 52),
               },
              ],
              position: (24, 51),
             },
            ],
            position: (24, 28),
           },
           String {
            parts: [],
            position: (24, 60),
           },
          ],
         },
         position: (24, 5),
        },
       ],
       position: (23, 13),
      },
     },
     Binding {
      from: AttributePath {
       parts: [
        Raw {
         content: "options",
         position: (27, 3),
        },
       ],
      },
      to: Map {
       bindings: [
        Binding {
         from: AttributePath {
          parts: [
           Raw {
            content: "services",
            position: (29, 5),
           },
           Raw {
            content: "mailhog",
            position: (29, 14),
           },
          ],
         },
         to: Map {
          bindings: [
           Binding {
            from: AttributePath {
             parts: [
              Raw {
               content: "enable",
               position: (30, 7),
              },
             ],
            },
            to: FunctionApplication {
             function: Variable {
              identifier: "mkEnableOption",
              position: (30, 16),
             },
             arguments: [
              String {
               parts: [
                Raw {
                 content: "MailHog",
                 position: (30, 32),
                },
               ],
               position: (30, 31),
              },
             ],
            },
           },
           Binding {
            from: AttributePath {
             parts: [
              Raw {
               content: "storage",
               position: (32, 7),
              },
             ],
            },
            to: FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (32, 17),
             },
             arguments: [
              Map {
               bindings: [
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "type",
                    position: (33, 9),
                   },
                  ],
                 },
                 to: FunctionApplication {
                  function: PropertyAccess {
                   expression: Variable {
                    identifier: "types",
                    position: (33, 16),
                   },
                   attribute_path: AttributePath {
                    parts: [
                     Raw {
                      content: "enum",
                      position: (33, 22),
                     },
                    ],
                   },
                   default: None,
                  },
                  arguments: [
                   List {
                    elements: [
                     String {
                      parts: [
                       Raw {
                        content: "maildir",
                        position: (33, 30),
                       },
                      ],
                      position: (33, 29),
                     },
                     String {
                      parts: [
                       Raw {
                        content: "memory",
                        position: (33, 40),
                       },
                      ],
                      position: (33, 39),
                     },
                    ],
                    position: (33, 27),
                   },
                  ],
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "default",
                    position: (34, 9),
                   },
                  ],
                 },
                 to: String {
                  parts: [
                   Raw {
                    content: "memory",
                    position: (34, 20),
                   },
                  ],
                  position: (34, 19),
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "description",
                    position: (35, 9),
                   },
                  ],
                 },
                 to: String {
                  parts: [
                   Raw {
                    content: "Store mails on disk or in memory.",
                    position: (35, 24),
                   },
                  ],
                  position: (35, 23),
                 },
                },
               ],
               recursive: false,
               position: (32, 26),
              },
             ],
            },
           },
           Binding {
            from: AttributePath {
             parts: [
              Raw {
               content: "apiPort",
               position: (38, 7),
              },
             ],
            },
            to: FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (38, 17),
             },
             arguments: [
              Map {
               bindings: [
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "type",
                    position: (39, 9),
                   },
                  ],
                 },
                 to: PropertyAccess {
                  expression: Variable {
                   identifier: "types",
                   position: (39, 16),
                  },
                  attribute_path: AttributePath {
                   parts: [
                    Raw {
                     content: "port",
                     position: (39, 22),
                    },
                   ],
                  },
                  default: None,
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "default",
                    position: (40, 9),
                   },
                  ],
                 },
                 to: Int {
                  value: 8025,
                  position: (40, 19),
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "description",
                    position: (41, 9),
                   },
                  ],
                 },
                 to: String {
                  parts: [
                   Raw {
                    content: "Port on which the API endpoint will listen.",
                    position: (41, 24),
                   },
                  ],
                  position: (41, 23),
                 },
                },
               ],
               recursive: false,
               position: (38, 26),
              },
             ],
            },
           },
           Binding {
            from: AttributePath {
             parts: [
              Raw {
               content: "smtpPort",
               position: (44, 7),
              },
             ],
            },
            to: FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (44, 18),
             },
             arguments: [
              Map {
               bindings: [
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "type",
                    position: (45, 9),
                   },
                  ],
                 },
                 to: PropertyAccess {
                  expression: Variable {
                   identifier: "types",
                   position: (45, 16),
                  },
                  attribute_path: AttributePath {
                   parts: [
                    Raw {
                     content: "port",
                     position: (45, 22),
                    },
                   ],
                  },
                  default: None,
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "default",
                    position: (46, 9),
                   },
                  ],
                 },
                 to: Int {
                  value: 1025,
                  position: (46, 19),
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "description",
                    position: (47, 9),
                   },
                  ],
                 },
                 to: String {
                  parts: [
                   Raw {
                    content: "Port on which the SMTP endpoint will listen.",
                    position: (47, 24),
                   },
                  ],
                  position: (47, 23),
                 },
                },
               ],
               recursive: false,
               position: (44, 27),
              },
             ],
            },
           },
           Binding {
            from: AttributePath {
             parts: [
              Raw {
               content: "uiPort",
               position: (50, 7),
              },
             ],
            },
            to: FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (50, 16),
             },
             arguments: [
              Map {
               bindings: [
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "type",
                    position: (51, 9),
                   },
                  ],
                 },
                 to: PropertyAccess {
                  expression: Variable {
                   identifier: "types",
                   position: (51, 16),
                  },
                  attribute_path: AttributePath {
                   parts: [
                    Raw {
                     content: "port",
                     position: (51, 22),
                    },
                   ],
                  },
                  default: None,
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "default",
                    position: (52, 9),
                   },
                  ],
                 },
                 to: Int {
                  value: 8025,
                  position: (52, 19),
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "description",
                    position: (53, 9),
                   },
                  ],
                 },
                 to: String {
                  parts: [
                   Raw {
                    content: "Port on which the HTTP UI will listen.",
                    position: (53, 24),
                   },
                  ],
                  position: (53, 23),
                 },
                },
               ],
               recursive: false,
               position: (50, 25),
              },
             ],
            },
           },
           Binding {
            from: AttributePath {
             parts: [
              Raw {
               content: "extraArgs",
               position: (56, 7),
              },
             ],
            },
            to: FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (56, 19),
             },
             arguments: [
              Map {
               bindings: [
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "type",
                    position: (57, 9),
                   },
                  ],
                 },
                 to: FunctionApplication {
                  function: PropertyAccess {
                   expression: Variable {
                    identifier: "types",
                    position: (57, 16),
                   },
                   attribute_path: AttributePath {
                    parts: [
                     Raw {
                      content: "listOf",
                      position: (57, 22),
                     },
                    ],
                   },
                   default: None,
                  },
                  arguments: [
                   PropertyAccess {
                    expression: Variable {
                     identifier: "types",
                     position: (57, 29),
                    },
                    attribute_path: AttributePath {
                     parts: [
                      Raw {
                       content: "str",
                       position: (57, 35),
                      },
                     ],
                    },
                    default: None,
                   },
                  ],
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "default",
                    position: (58, 9),
                   },
                  ],
                 },
                 to: List {
                  elements: [],
                  position: (58, 19),
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "description",
                    position: (59, 9),
                   },
                  ],
                 },
                 to: String {
                  parts: [
                   Raw {
                    content: "List of additional arguments to pass to the MailHog process.",
                    position: (59, 24),
                   },
                  ],
                  position: (59, 23),
                 },
                },
               ],
               recursive: false,
               position: (56, 28),
              },
             ],
            },
           },
          ],
          recursive: false,
          position: (29, 24),
         },
        },
       ],
       recursive: false,
       position: (27, 13),
      },
     },
     Binding {
      from: AttributePath {
       parts: [
        Raw {
         content: "config",
         position: (67, 3),
        },
       ],
      },
      to: FunctionApplication {
       function: Variable {
        identifier: "mkIf",
        position: (67, 12),
       },
       arguments: [
        PropertyAccess {
         expression: Variable {
          identifier: "cfg",
          position: (67, 17),
         },
         attribute_path: AttributePath {
          parts: [
           Raw {
            content: "enable",
            position: (67, 21),
           },
          ],
         },
         default: None,
        },
        Map {
         bindings: [
          Binding {
           from: AttributePath {
            parts: [
             Raw {
              content: "systemd",
              position: (69, 5),
             },
             Raw {
              content: "services",
              position: (69, 13),
             },
             Raw {
              content: "mailhog",
              position: (69, 22),
             },
            ],
           },
           to: Map {
            bindings: [
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "description",
                 position: (70, 7),
                },
               ],
              },
              to: String {
               parts: [
                Raw {
                 content: "MailHog - Web and API based SMTP testing",
                 position: (70, 22),
                },
               ],
               position: (70, 21),
              },
             },
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "after",
                 position: (71, 7),
                },
               ],
              },
              to: List {
               elements: [
                String {
                 parts: [
                  Raw {
                   content: "network.target",
                   position: (71, 18),
                  },
                 ],
                 position: (71, 17),
                },
               ],
               position: (71, 15),
              },
             },
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "wantedBy",
                 position: (72, 7),
                },
               ],
              },
              to: List {
               elements: [
                String {
                 parts: [
                  Raw {
                   content: "multi-user.target",
                   position: (72, 21),
                  },
                 ],
                 position: (72, 20),
                },
               ],
               position: (72, 18),
              },
             },
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "serviceConfig",
                 position: (73, 7),
                },
               ],
              },
              to: Map {
               bindings: [
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "Type",
                    position: (74, 9),
                   },
                  ],
                 },
                 to: String {
                  parts: [
                   Raw {
                    content: "exec",
                    position: (74, 17),
                   },
                  ],
                  position: (74, 16),
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "ExecStart",
                    position: (75, 9),
                   },
                  ],
                 },
                 to: String {
                  parts: [
                   Interpolation {
                    expression: PropertyAccess {
                     expression: Variable {
                      identifier: "pkgs",
                      position: (75, 24),
                     },
                     attribute_path: AttributePath {
                      parts: [
                       Raw {
                        content: "mailhog",
                        position: (75, 29),
                       },
                      ],
                     },
                     default: None,
                    },
                   },
                   Raw {
                    content: "/bin/MailHog ",
                    position: (75, 37),
                   },
                   Interpolation {
                    expression: Variable {
                     identifier: "args",
                     position: (75, 52),
                    },
                   },
                  ],
                  position: (75, 21),
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "DynamicUser",
                    position: (76, 9),
                   },
                  ],
                 },
                 to: Variable {
                  identifier: "true",
                  position: (76, 23),
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "Restart",
                    position: (77, 9),
                   },
                  ],
                 },
                 to: String {
                  parts: [
                   Raw {
                    content: "on-failure",
                    position: (77, 20),
                   },
                  ],
                  position: (77, 19),
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "StateDirectory",
                    position: (78, 9),
                   },
                  ],
                 },
                 to: String {
                  parts: [
                   Raw {
                    content: "mailhog",
                    position: (78, 27),
                   },
                  ],
                  position: (78, 26),
                 },
                },
               ],
               recursive: false,
               position: (73, 23),
              },
             },
            ],
            recursive: false,
            position: (69, 32),
           },
          },
         ],
         recursive: false,
         position: (67, 28),
        },
       ],
      },
     },
    ],
    recursive: false,
    position: (20, 1),
   },
   position: (5, 1),
  },
  position: (3, 1),
 },
 position: (1, 1),
}