---
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: (5, 3),
       },
      ],
     },
     to: PropertyAccess {
      expression: Variable {
       identifier: "config",
       position: (5, 9),
      },
      attribute_path: AttributePath {
       parts: [
        Raw {
         content: "services",
         position: (5, 16),
        },
        Raw {
         content: "clamsmtp",
         position: (5, 25),
        },
       ],
      },
      default: None,
     },
    },
    Binding {
     from: AttributePath {
      parts: [
       Raw {
        content: "clamdSocket",
        position: (6, 3),
       },
      ],
     },
     to: String {
      parts: [
       Raw {
        content: "/run/clamav/clamd.ctl",
        position: (6, 18),
       },
      ],
      position: (6, 17),
     },
    },
   ],
   target: Map {
    bindings: [
     Binding {
      from: AttributePath {
       parts: [
        Raw {
         content: "options",
         position: (10, 3),
        },
       ],
      },
      to: Map {
       bindings: [
        Binding {
         from: AttributePath {
          parts: [
           Raw {
            content: "services",
            position: (11, 5),
           },
           Raw {
            content: "clamsmtp",
            position: (11, 14),
           },
          ],
         },
         to: Map {
          bindings: [
           Binding {
            from: AttributePath {
             parts: [
              Raw {
               content: "enable",
               position: (12, 7),
              },
             ],
            },
            to: FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (12, 16),
             },
             arguments: [
              Map {
               bindings: [
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "type",
                    position: (13, 9),
                   },
                  ],
                 },
                 to: PropertyAccess {
                  expression: Variable {
                   identifier: "types",
                   position: (13, 16),
                  },
                  attribute_path: AttributePath {
                   parts: [
                    Raw {
                     content: "bool",
                     position: (13, 22),
                    },
                   ],
                  },
                  default: None,
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "default",
                    position: (14, 9),
                   },
                  ],
                 },
                 to: Variable {
                  identifier: "false",
                  position: (14, 19),
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "description",
                    position: (15, 9),
                   },
                  ],
                 },
                 to: String {
                  parts: [
                   Raw {
                    content: "Whether to enable clamsmtp.",
                    position: (15, 24),
                   },
                  ],
                  position: (15, 23),
                 },
                },
               ],
               recursive: false,
               position: (12, 25),
              },
             ],
            },
           },
           Binding {
            from: AttributePath {
             parts: [
              Raw {
               content: "instances",
               position: (18, 7),
              },
             ],
            },
            to: FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (18, 19),
             },
             arguments: [
              Map {
               bindings: [
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "description",
                    position: (19, 9),
                   },
                  ],
                 },
                 to: String {
                  parts: [
                   Raw {
                    content: "Instances of clamsmtp to run.",
                    position: (19, 24),
                   },
                  ],
                  position: (19, 23),
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "type",
                    position: (20, 9),
                   },
                  ],
                 },
                 to: FunctionApplication {
                  function: PropertyAccess {
                   expression: Variable {
                    identifier: "types",
                    position: (20, 16),
                   },
                   attribute_path: AttributePath {
                    parts: [
                     Raw {
                      content: "listOf",
                      position: (20, 22),
                     },
                    ],
                   },
                   default: None,
                  },
                  arguments: [
                   Parentheses {
                    expression: FunctionApplication {
                     function: PropertyAccess {
                      expression: Variable {
                       identifier: "types",
                       position: (20, 30),
                      },
                      attribute_path: AttributePath {
                       parts: [
                        Raw {
                         content: "submodule",
                         position: (20, 36),
                        },
                       ],
                      },
                      default: None,
                     },
                     arguments: [
                      Map {
                       bindings: [
                        Binding {
                         from: AttributePath {
                          parts: [
                           Raw {
                            content: "options",
                            position: (20, 48),
                           },
                          ],
                         },
                         to: Map {
                          bindings: [
                           Binding {
                            from: AttributePath {
                             parts: [
                              Raw {
                               content: "action",
                               position: (21, 11),
                              },
                             ],
                            },
                            to: FunctionApplication {
                             function: Variable {
                              identifier: "mkOption",
                              position: (21, 20),
                             },
                             arguments: [
                              Map {
                               bindings: [
                                Binding {
                                 from: AttributePath {
                                  parts: [
                                   Raw {
                                    content: "type",
                                    position: (22, 13),
                                   },
                                  ],
                                 },
                                 to: FunctionApplication {
                                  function: PropertyAccess {
                                   expression: Variable {
                                    identifier: "types",
                                    position: (22, 20),
                                   },
                                   attribute_path: AttributePath {
                                    parts: [
                                     Raw {
                                      content: "enum",
                                      position: (22, 26),
                                     },
                                    ],
                                   },
                                   default: None,
                                  },
                                  arguments: [
                                   List {
                                    elements: [
                                     String {
                                      parts: [
                                       Raw {
                                        content: "bounce",
                                        position: (22, 34),
                                       },
                                      ],
                                      position: (22, 33),
                                     },
                                     String {
                                      parts: [
                                       Raw {
                                        content: "drop",
                                        position: (22, 43),
                                       },
                                      ],
                                      position: (22, 42),
                                     },
                                     String {
                                      parts: [
                                       Raw {
                                        content: "pass",
                                        position: (22, 50),
                                       },
                                      ],
                                      position: (22, 49),
                                     },
                                    ],
                                    position: (22, 31),
                                   },
                                  ],
                                 },
                                },
                                Binding {
                                 from: AttributePath {
                                  parts: [
                                   Raw {
                                    content: "default",
                                    position: (23, 13),
                                   },
                                  ],
                                 },
                                 to: String {
                                  parts: [
                                   Raw {
                                    content: "drop",
                                    position: (23, 24),
                                   },
                                  ],
                                  position: (23, 23),
                                 },
                                },
                                Binding {
                                 from: AttributePath {
                                  parts: [
                                   Raw {
                                    content: "description",
                                    position: (24, 13),
                                   },
                                  ],
                                 },
                                 to: String {
                                  parts: [
                                   Raw {
                                    content: "Action to take when a virus is detected.\n\nNote that viruses often spoof sender addresses, so bouncing is\nin most cases not a good idea.\n",
                                    position: (26, 1),
                                   },
                                  ],
                                  position: (25, 15),
                                 },
                                },
                               ],
                               recursive: false,
                               position: (21, 29),
                              },
                             ],
                            },
                           },
                           Binding {
                            from: AttributePath {
                             parts: [
                              Raw {
                               content: "header",
                               position: (33, 11),
                              },
                             ],
                            },
                            to: FunctionApplication {
                             function: Variable {
                              identifier: "mkOption",
                              position: (33, 20),
                             },
                             arguments: [
                              Map {
                               bindings: [
                                Binding {
                                 from: AttributePath {
                                  parts: [
                                   Raw {
                                    content: "type",
                                    position: (34, 13),
                                   },
                                  ],
                                 },
                                 to: PropertyAccess {
                                  expression: Variable {
                                   identifier: "types",
                                   position: (34, 20),
                                  },
                                  attribute_path: AttributePath {
                                   parts: [
                                    Raw {
                                     content: "str",
                                     position: (34, 26),
                                    },
                                   ],
                                  },
                                  default: None,
                                 },
                                },
                                Binding {
                                 from: AttributePath {
                                  parts: [
                                   Raw {
                                    content: "default",
                                    position: (35, 13),
                                   },
                                  ],
                                 },
                                 to: String {
                                  parts: [],
                                  position: (35, 23),
                                 },
                                },
                                Binding {
                                 from: AttributePath {
                                  parts: [
                                   Raw {
                                    content: "example",
                                    position: (36, 13),
                                   },
                                  ],
                                 },
                                 to: String {
                                  parts: [
                                   Raw {
                                    content: "X-Virus-Scanned: ClamAV using ClamSMTP",
                                    position: (36, 24),
                                   },
                                  ],
                                  position: (36, 23),
                                 },
                                },
                                Binding {
                                 from: AttributePath {
                                  parts: [
                                   Raw {
                                    content: "description",
                                    position: (37, 13),
                                   },
                                  ],
                                 },
                                 to: String {
                                  parts: [
                                   Raw {
                                    content: "A header to add to scanned messages. See clamsmtpd.conf(5) for\nmore details. Empty means no header.\n",
                                    position: (39, 1),
                                   },
                                  ],
                                  position: (38, 15),
                                 },
                                },
                               ],
                               recursive: false,
                               position: (33, 29),
                              },
                             ],
                            },
                           },
                           Binding {
                            from: AttributePath {
                             parts: [
                              Raw {
                               content: "keepAlives",
                               position: (44, 11),
                              },
                             ],
                            },
                            to: FunctionApplication {
                             function: Variable {
                              identifier: "mkOption",
                              position: (44, 24),
                             },
                             arguments: [
                              Map {
                               bindings: [
                                Binding {
                                 from: AttributePath {
                                  parts: [
                                   Raw {
                                    content: "type",
                                    position: (45, 13),
                                   },
                                  ],
                                 },
                                 to: PropertyAccess {
                                  expression: Variable {
                                   identifier: "types",
                                   position: (45, 20),
                                  },
                                  attribute_path: AttributePath {
                                   parts: [
                                    Raw {
                                     content: "int",
                                     position: (45, 26),
                                    },
                                   ],
                                  },
                                  default: None,
                                 },
                                },
                                Binding {
                                 from: AttributePath {
                                  parts: [
                                   Raw {
                                    content: "default",
                                    position: (46, 13),
                                   },
                                  ],
                                 },
                                 to: Int {
                                  value: 0,
                                  position: (46, 23),
                                 },
                                },
                                Binding {
                                 from: AttributePath {
                                  parts: [
                                   Raw {
                                    content: "description",
                                    position: (47, 13),
                                   },
                                  ],
                                 },
                                 to: String {
                                  parts: [
                                   Raw {
                                    content: "Number of seconds to wait between each NOOP sent to the sending\nserver. 0 to disable.\n\nThis is meant for slow servers where the sending MTA times out\nwaiting for clamd to scan the file.\n",
                                    position: (49, 1),
                                   },
                                  ],
                                  position: (48, 15),
                                 },
                                },
                               ],
                               recursive: false,
                               position: (44, 33),
                              },
                             ],
                            },
                           },
                           Binding {
                            from: AttributePath {
                             parts: [
                              Raw {
                               content: "listen",
                               position: (57, 11),
                              },
                             ],
                            },
                            to: FunctionApplication {
                             function: Variable {
                              identifier: "mkOption",
                              position: (57, 20),
                             },
                             arguments: [
                              Map {
                               bindings: [
                                Binding {
                                 from: AttributePath {
                                  parts: [
                                   Raw {
                                    content: "type",
                                    position: (58, 13),
                                   },
                                  ],
                                 },
                                 to: PropertyAccess {
                                  expression: Variable {
                                   identifier: "types",
                                   position: (58, 20),
                                  },
                                  attribute_path: AttributePath {
                                   parts: [
                                    Raw {
                                     content: "str",
                                     position: (58, 26),
                                    },
                                   ],
                                  },
                                  default: None,
                                 },
                                },
                                Binding {
                                 from: AttributePath {
                                  parts: [
                                   Raw {
                                    content: "example",
                                    position: (59, 13),
                                   },
                                  ],
                                 },
                                 to: String {
                                  parts: [
                                   Raw {
                                    content: "127.0.0.1:10025",
                                    position: (59, 24),
                                   },
                                  ],
                                  position: (59, 23),
                                 },
                                },
                                Binding {
                                 from: AttributePath {
                                  parts: [
                                   Raw {
                                    content: "description",
                                    position: (60, 13),
                                   },
                                  ],
                                 },
                                 to: String {
                                  parts: [
                                   Raw {
                                    content: "Address to wait for incoming SMTP connections on. See\nclamsmtpd.conf(5) for more details.\n",
                                    position: (62, 1),
                                   },
                                  ],
                                  position: (61, 15),
                                 },
                                },
                               ],
                               recursive: false,
                               position: (57, 29),
                              },
                             ],
                            },
                           },
                           Binding {
                            from: AttributePath {
                             parts: [
                              Raw {
                               content: "quarantine",
                               position: (67, 11),
                              },
                             ],
                            },
                            to: FunctionApplication {
                             function: Variable {
                              identifier: "mkOption",
                              position: (67, 24),
                             },
                             arguments: [
                              Map {
                               bindings: [
                                Binding {
                                 from: AttributePath {
                                  parts: [
                                   Raw {
                                    content: "type",
                                    position: (68, 13),
                                   },
                                  ],
                                 },
                                 to: PropertyAccess {
                                  expression: Variable {
                                   identifier: "types",
                                   position: (68, 20),
                                  },
                                  attribute_path: AttributePath {
                                   parts: [
                                    Raw {
                                     content: "bool",
                                     position: (68, 26),
                                    },
                                   ],
                                  },
                                  default: None,
                                 },
                                },
                                Binding {
                                 from: AttributePath {
                                  parts: [
                                   Raw {
                                    content: "default",
                                    position: (69, 13),
                                   },
                                  ],
                                 },
                                 to: Variable {
                                  identifier: "false",
                                  position: (69, 23),
                                 },
                                },
                                Binding {
                                 from: AttributePath {
                                  parts: [
                                   Raw {
                                    content: "description",
                                    position: (70, 13),
                                   },
                                  ],
                                 },
                                 to: String {
                                  parts: [
                                   Raw {
                                    content: "Whether to quarantine files that contain viruses by leaving them\nin the temporary directory.\n",
                                    position: (72, 1),
                                   },
                                  ],
                                  position: (71, 15),
                                 },
                                },
                               ],
                               recursive: false,
                               position: (67, 33),
                              },
                             ],
                            },
                           },
                           Binding {
                            from: AttributePath {
                             parts: [
                              Raw {
                               content: "maxConnections",
                               position: (77, 11),
                              },
                             ],
                            },
                            to: FunctionApplication {
                             function: Variable {
                              identifier: "mkOption",
                              position: (77, 28),
                             },
                             arguments: [
                              Map {
                               bindings: [
                                Binding {
                                 from: AttributePath {
                                  parts: [
                                   Raw {
                                    content: "type",
                                    position: (78, 13),
                                   },
                                  ],
                                 },
                                 to: PropertyAccess {
                                  expression: Variable {
                                   identifier: "types",
                                   position: (78, 20),
                                  },
                                  attribute_path: AttributePath {
                                   parts: [
                                    Raw {
                                     content: "int",
                                     position: (78, 26),
                                    },
                                   ],
                                  },
                                  default: None,
                                 },
                                },
                                Binding {
                                 from: AttributePath {
                                  parts: [
                                   Raw {
                                    content: "default",
                                    position: (79, 13),
                                   },
                                  ],
                                 },
                                 to: Int {
                                  value: 64,
                                  position: (79, 23),
                                 },
                                },
                                Binding {
                                 from: AttributePath {
                                  parts: [
                                   Raw {
                                    content: "description",
                                    position: (80, 13),
                                   },
                                  ],
                                 },
                                 to: String {
                                  parts: [
                                   Raw {
                                    content: "Maximum number of connections to accept at once.",
                                    position: (80, 28),
                                   },
                                  ],
                                  position: (80, 27),
                                 },
                                },
                               ],
                               recursive: false,
                               position: (77, 37),
                              },
                             ],
                            },
                           },
                           Binding {
                            from: AttributePath {
                             parts: [
                              Raw {
                               content: "outAddress",
                               position: (83, 11),
                              },
                             ],
                            },
                            to: FunctionApplication {
                             function: Variable {
                              identifier: "mkOption",
                              position: (83, 24),
                             },
                             arguments: [
                              Map {
                               bindings: [
                                Binding {
                                 from: AttributePath {
                                  parts: [
                                   Raw {
                                    content: "type",
                                    position: (84, 13),
                                   },
                                  ],
                                 },
                                 to: PropertyAccess {
                                  expression: Variable {
                                   identifier: "types",
                                   position: (84, 20),
                                  },
                                  attribute_path: AttributePath {
                                   parts: [
                                    Raw {
                                     content: "str",
                                     position: (84, 26),
                                    },
                                   ],
                                  },
                                  default: None,
                                 },
                                },
                                Binding {
                                 from: AttributePath {
                                  parts: [
                                   Raw {
                                    content: "description",
                                    position: (85, 13),
                                   },
                                  ],
                                 },
                                 to: String {
                                  parts: [
                                   Raw {
                                    content: "Address of the SMTP server to send email to once it has been\nscanned.\n",
                                    position: (87, 1),
                                   },
                                  ],
                                  position: (86, 15),
                                 },
                                },
                               ],
                               recursive: false,
                               position: (83, 33),
                              },
                             ],
                            },
                           },
                           Binding {
                            from: AttributePath {
                             parts: [
                              Raw {
                               content: "tempDirectory",
                               position: (92, 11),
                              },
                             ],
                            },
                            to: FunctionApplication {
                             function: Variable {
                              identifier: "mkOption",
                              position: (92, 27),
                             },
                             arguments: [
                              Map {
                               bindings: [
                                Binding {
                                 from: AttributePath {
                                  parts: [
                                   Raw {
                                    content: "type",
                                    position: (93, 13),
                                   },
                                  ],
                                 },
                                 to: PropertyAccess {
                                  expression: Variable {
                                   identifier: "types",
                                   position: (93, 20),
                                  },
                                  attribute_path: AttributePath {
                                   parts: [
                                    Raw {
                                     content: "str",
                                     position: (93, 26),
                                    },
                                   ],
                                  },
                                  default: None,
                                 },
                                },
                                Binding {
                                 from: AttributePath {
                                  parts: [
                                   Raw {
                                    content: "default",
                                    position: (94, 13),
                                   },
                                  ],
                                 },
                                 to: String {
                                  parts: [
                                   Raw {
                                    content: "/tmp",
                                    position: (94, 24),
                                   },
                                  ],
                                  position: (94, 23),
                                 },
                                },
                                Binding {
                                 from: AttributePath {
                                  parts: [
                                   Raw {
                                    content: "description",
                                    position: (95, 13),
                                   },
                                  ],
                                 },
                                 to: String {
                                  parts: [
                                   Raw {
                                    content: "Temporary directory that needs to be accessible to both clamd\nand clamsmtpd.\n",
                                    position: (97, 1),
                                   },
                                  ],
                                  position: (96, 15),
                                 },
                                },
                               ],
                               recursive: false,
                               position: (92, 36),
                              },
                             ],
                            },
                           },
                           Binding {
                            from: AttributePath {
                             parts: [
                              Raw {
                               content: "timeout",
                               position: (102, 11),
                              },
                             ],
                            },
                            to: FunctionApplication {
                             function: Variable {
                              identifier: "mkOption",
                              position: (102, 21),
                             },
                             arguments: [
                              Map {
                               bindings: [
                                Binding {
                                 from: AttributePath {
                                  parts: [
                                   Raw {
                                    content: "type",
                                    position: (103, 13),
                                   },
                                  ],
                                 },
                                 to: PropertyAccess {
                                  expression: Variable {
                                   identifier: "types",
                                   position: (103, 20),
                                  },
                                  attribute_path: AttributePath {
                                   parts: [
                                    Raw {
                                     content: "int",
                                     position: (103, 26),
                                    },
                                   ],
                                  },
                                  default: None,
                                 },
                                },
                                Binding {
                                 from: AttributePath {
                                  parts: [
                                   Raw {
                                    content: "default",
                                    position: (104, 13),
                                   },
                                  ],
                                 },
                                 to: Int {
                                  value: 180,
                                  position: (104, 23),
                                 },
                                },
                                Binding {
                                 from: AttributePath {
                                  parts: [
                                   Raw {
                                    content: "description",
                                    position: (105, 13),
                                   },
                                  ],
                                 },
                                 to: String {
                                  parts: [
                                   Raw {
                                    content: "Time-out for network connections.",
                                    position: (105, 28),
                                   },
                                  ],
                                  position: (105, 27),
                                 },
                                },
                               ],
                               recursive: false,
                               position: (102, 30),
                              },
                             ],
                            },
                           },
                           Binding {
                            from: AttributePath {
                             parts: [
                              Raw {
                               content: "transparentProxy",
                               position: (108, 11),
                              },
                             ],
                            },
                            to: FunctionApplication {
                             function: Variable {
                              identifier: "mkOption",
                              position: (108, 30),
                             },
                             arguments: [
                              Map {
                               bindings: [
                                Binding {
                                 from: AttributePath {
                                  parts: [
                                   Raw {
                                    content: "type",
                                    position: (109, 13),
                                   },
                                  ],
                                 },
                                 to: PropertyAccess {
                                  expression: Variable {
                                   identifier: "types",
                                   position: (109, 20),
                                  },
                                  attribute_path: AttributePath {
                                   parts: [
                                    Raw {
                                     content: "bool",
                                     position: (109, 26),
                                    },
                                   ],
                                  },
                                  default: None,
                                 },
                                },
                                Binding {
                                 from: AttributePath {
                                  parts: [
                                   Raw {
                                    content: "default",
                                    position: (110, 13),
                                   },
                                  ],
                                 },
                                 to: Variable {
                                  identifier: "false",
                                  position: (110, 23),
                                 },
                                },
                                Binding {
                                 from: AttributePath {
                                  parts: [
                                   Raw {
                                    content: "description",
                                    position: (111, 13),
                                   },
                                  ],
                                 },
                                 to: String {
                                  parts: [
                                   Raw {
                                    content: "Enable clamsmtp's transparent proxy support.",
                                    position: (111, 28),
                                   },
                                  ],
                                  position: (111, 27),
                                 },
                                },
                               ],
                               recursive: false,
                               position: (108, 39),
                              },
                             ],
                            },
                           },
                           Binding {
                            from: AttributePath {
                             parts: [
                              Raw {
                               content: "virusAction",
                               position: (114, 11),
                              },
                             ],
                            },
                            to: FunctionApplication {
                             function: Variable {
                              identifier: "mkOption",
                              position: (114, 25),
                             },
                             arguments: [
                              Map {
                               bindings: [
                                Binding {
                                 from: AttributePath {
                                  parts: [
                                   Raw {
                                    content: "type",
                                    position: (115, 13),
                                   },
                                  ],
                                 },
                                 to: With {
                                  expression: Variable {
                                   identifier: "types",
                                   position: (115, 25),
                                  },
                                  target: FunctionApplication {
                                   function: Variable {
                                    identifier: "nullOr",
                                    position: (115, 32),
                                   },
                                   arguments: [
                                    Variable {
                                     identifier: "path",
                                     position: (115, 39),
                                    },
                                   ],
                                  },
                                  position: (115, 20),
                                 },
                                },
                                Binding {
                                 from: AttributePath {
                                  parts: [
                                   Raw {
                                    content: "default",
                                    position: (116, 13),
                                   },
                                  ],
                                 },
                                 to: Variable {
                                  identifier: "null",
                                  position: (116, 23),
                                 },
                                },
                                Binding {
                                 from: AttributePath {
                                  parts: [
                                   Raw {
                                    content: "description",
                                    position: (117, 13),
                                   },
                                  ],
                                 },
                                 to: String {
                                  parts: [
                                   Raw {
                                    content: "Command to run when a virus is found. Please see VIRUS ACTION in\nclamsmtpd(8) for a discussion of this option and its safe use.\n",
                                    position: (119, 1),
                                   },
                                  ],
                                  position: (118, 15),
                                 },
                                },
                               ],
                               recursive: false,
                               position: (114, 34),
                              },
                             ],
                            },
                           },
                           Binding {
                            from: AttributePath {
                             parts: [
                              Raw {
                               content: "xClient",
                               position: (124, 11),
                              },
                             ],
                            },
                            to: FunctionApplication {
                             function: Variable {
                              identifier: "mkOption",
                              position: (124, 21),
                             },
                             arguments: [
                              Map {
                               bindings: [
                                Binding {
                                 from: AttributePath {
                                  parts: [
                                   Raw {
                                    content: "type",
                                    position: (125, 13),
                                   },
                                  ],
                                 },
                                 to: PropertyAccess {
                                  expression: Variable {
                                   identifier: "types",
                                   position: (125, 20),
                                  },
                                  attribute_path: AttributePath {
                                   parts: [
                                    Raw {
                                     content: "bool",
                                     position: (125, 26),
                                    },
                                   ],
                                  },
                                  default: None,
                                 },
                                },
                                Binding {
                                 from: AttributePath {
                                  parts: [
                                   Raw {
                                    content: "default",
                                    position: (126, 13),
                                   },
                                  ],
                                 },
                                 to: Variable {
                                  identifier: "false",
                                  position: (126, 23),
                                 },
                                },
                                Binding {
                                 from: AttributePath {
                                  parts: [
                                   Raw {
                                    content: "description",
                                    position: (127, 13),
                                   },
                                  ],
                                 },
                                 to: String {
                                  parts: [
                                   Raw {
                                    content: "Send the XCLIENT command to the receiving server, for forwarding\nclient addresses and connection information if the receiving\nserver supports this feature.\n",
                                    position: (129, 1),
                                   },
                                  ],
                                  position: (128, 15),
                                 },
                                },
                               ],
                               recursive: false,
                               position: (124, 30),
                              },
                             ],
                            },
                           },
                          ],
                          recursive: false,
                          position: (20, 58),
                         },
                        },
                       ],
                       recursive: false,
                       position: (20, 46),
                      },
                     ],
                    },
                    position: (20, 29),
                   },
                  ],
                 },
                },
               ],
               recursive: false,
               position: (18, 28),
              },
             ],
            },
           },
          ],
          recursive: false,
          position: (11, 25),
         },
        },
       ],
       recursive: false,
       position: (10, 13),
      },
     },
     Binding {
      from: AttributePath {
       parts: [
        Raw {
         content: "config",
         position: (140, 3),
        },
       ],
      },
      to: LetIn {
       bindings: [
        Binding {
         from: AttributePath {
          parts: [
           Raw {
            content: "configfile",
            position: (141, 5),
           },
          ],
         },
         to: Function {
          argument: Simple {
           identifier: "conf",
          },
          definition: FunctionApplication {
           function: PropertyAccess {
            expression: Variable {
             identifier: "pkgs",
             position: (141, 24),
            },
            attribute_path: AttributePath {
             parts: [
              Raw {
               content: "writeText",
               position: (141, 29),
              },
             ],
            },
            default: None,
           },
           arguments: [
            String {
             parts: [
              Raw {
               content: "clamsmtpd.conf",
               position: (141, 40),
              },
             ],
             position: (141, 39),
            },
            String {
             parts: [
              Raw {
               content: "Action: ",
               position: (143, 1),
              },
              Interpolation {
               expression: PropertyAccess {
                expression: Variable {
                 identifier: "conf",
                 position: (143, 19),
                },
                attribute_path: AttributePath {
                 parts: [
                  Raw {
                   content: "action",
                   position: (143, 24),
                  },
                 ],
                },
                default: None,
               },
              },
              Raw {
               content: "\nClamAddress: ",
               position: (143, 31),
              },
              Interpolation {
               expression: Variable {
                identifier: "clamdSocket",
                position: (144, 24),
               },
              },
              Raw {
               content: "\nHeader: ",
               position: (144, 36),
              },
              Interpolation {
               expression: PropertyAccess {
                expression: Variable {
                 identifier: "conf",
                 position: (145, 19),
                },
                attribute_path: AttributePath {
                 parts: [
                  Raw {
                   content: "header",
                   position: (145, 24),
                  },
                 ],
                },
                default: None,
               },
              },
              Raw {
               content: "\nKeepAlives: ",
               position: (145, 31),
              },
              Interpolation {
               expression: FunctionApplication {
                function: Variable {
                 identifier: "toString",
                 position: (146, 23),
                },
                arguments: [
                 PropertyAccess {
                  expression: Variable {
                   identifier: "conf",
                   position: (146, 32),
                  },
                  attribute_path: AttributePath {
                   parts: [
                    Raw {
                     content: "keepAlives",
                     position: (146, 37),
                    },
                   ],
                  },
                  default: None,
                 },
                ],
               },
              },
              Raw {
               content: "\nListen: ",
               position: (146, 48),
              },
              Interpolation {
               expression: PropertyAccess {
                expression: Variable {
                 identifier: "conf",
                 position: (147, 19),
                },
                attribute_path: AttributePath {
                 parts: [
                  Raw {
                   content: "listen",
                   position: (147, 24),
                  },
                 ],
                },
                default: None,
               },
              },
              Raw {
               content: "\nQuarantine: ",
               position: (147, 31),
              },
              Interpolation {
               expression: IfThenElse {
                predicate: PropertyAccess {
                 expression: Variable {
                  identifier: "conf",
                  position: (148, 26),
                 },
                 attribute_path: AttributePath {
                  parts: [
                   Raw {
                    content: "quarantine",
                    position: (148, 31),
                   },
                  ],
                 },
                 default: None,
                },
                then: String {
                 parts: [
                  Raw {
                   content: "on",
                   position: (148, 48),
                  },
                 ],
                 position: (148, 47),
                },
                else_: String {
                 parts: [
                  Raw {
                   content: "off",
                   position: (148, 58),
                  },
                 ],
                 position: (148, 57),
                },
                position: (148, 23),
               },
              },
              Raw {
               content: "\nMaxConnections: ",
               position: (148, 63),
              },
              Interpolation {
               expression: FunctionApplication {
                function: Variable {
                 identifier: "toString",
                 position: (149, 27),
                },
                arguments: [
                 PropertyAccess {
                  expression: Variable {
                   identifier: "conf",
                   position: (149, 36),
                  },
                  attribute_path: AttributePath {
                   parts: [
                    Raw {
                     content: "maxConnections",
                     position: (149, 41),
                    },
                   ],
                  },
                  default: None,
                 },
                ],
               },
              },
              Raw {
               content: "\nOutAddress: ",
               position: (149, 56),
              },
              Interpolation {
               expression: PropertyAccess {
                expression: Variable {
                 identifier: "conf",
                 position: (150, 23),
                },
                attribute_path: AttributePath {
                 parts: [
                  Raw {
                   content: "outAddress",
                   position: (150, 28),
                  },
                 ],
                },
                default: None,
               },
              },
              Raw {
               content: "\nTempDirectory: ",
               position: (150, 39),
              },
              Interpolation {
               expression: PropertyAccess {
                expression: Variable {
                 identifier: "conf",
                 position: (151, 26),
                },
                attribute_path: AttributePath {
                 parts: [
                  Raw {
                   content: "tempDirectory",
                   position: (151, 31),
                  },
                 ],
                },
                default: None,
               },
              },
              Raw {
               content: "\nTimeOut: ",
               position: (151, 45),
              },
              Interpolation {
               expression: FunctionApplication {
                function: Variable {
                 identifier: "toString",
                 position: (152, 20),
                },
                arguments: [
                 PropertyAccess {
                  expression: Variable {
                   identifier: "conf",
                   position: (152, 29),
                  },
                  attribute_path: AttributePath {
                   parts: [
                    Raw {
                     content: "timeout",
                     position: (152, 34),
                    },
                   ],
                  },
                  default: None,
                 },
                ],
               },
              },
              Raw {
               content: "\nTransparentProxy: ",
               position: (152, 42),
              },
              Interpolation {
               expression: IfThenElse {
                predicate: PropertyAccess {
                 expression: Variable {
                  identifier: "conf",
                  position: (153, 32),
                 },
                 attribute_path: AttributePath {
                  parts: [
                   Raw {
                    content: "transparentProxy",
                    position: (153, 37),
                   },
                  ],
                 },
                 default: None,
                },
                then: String {
                 parts: [
                  Raw {
                   content: "on",
                   position: (153, 60),
                  },
                 ],
                 position: (153, 59),
                },
                else_: String {
                 parts: [
                  Raw {
                   content: "off",
                   position: (153, 70),
                  },
                 ],
                 position: (153, 69),
                },
                position: (153, 29),
               },
              },
              Raw {
               content: "\nUser: clamav\n",
               position: (153, 75),
              },
              Interpolation {
               expression: FunctionApplication {
                function: Variable {
                 identifier: "optionalString",
                 position: (155, 11),
                },
                arguments: [
                 Parentheses {
                  expression: BinaryOperation {
                   operator: NotEqualTo,
                   operands: [
                    PropertyAccess {
                     expression: Variable {
                      identifier: "conf",
                      position: (155, 27),
                     },
                     attribute_path: AttributePath {
                      parts: [
                       Raw {
                        content: "virusAction",
                        position: (155, 32),
                       },
                      ],
                     },
                     default: None,
                    },
                    Variable {
                     identifier: "null",
                     position: (155, 47),
                    },
                   ],
                   position: (155, 44),
                  },
                  position: (155, 26),
                 },
                 String {
                  parts: [
                   Raw {
                    content: "VirusAction: ",
                    position: (155, 54),
                   },
                   Interpolation {
                    expression: PropertyAccess {
                     expression: Variable {
                      identifier: "conf",
                      position: (155, 69),
                     },
                     attribute_path: AttributePath {
                      parts: [
                       Raw {
                        content: "virusAction",
                        position: (155, 74),
                       },
                      ],
                     },
                     default: None,
                    },
                   },
                  ],
                  position: (155, 53),
                 },
                ],
               },
              },
              Raw {
               content: "\nXClient: ",
               position: (155, 88),
              },
              Interpolation {
               expression: IfThenElse {
                predicate: PropertyAccess {
                 expression: Variable {
                  identifier: "conf",
                  position: (156, 23),
                 },
                 attribute_path: AttributePath {
                  parts: [
                   Raw {
                    content: "xClient",
                    position: (156, 28),
                   },
                  ],
                 },
                 default: None,
                },
                then: String {
                 parts: [
                  Raw {
                   content: "on",
                   position: (156, 42),
                  },
                 ],
                 position: (156, 41),
                },
                else_: String {
                 parts: [
                  Raw {
                   content: "off",
                   position: (156, 52),
                  },
                 ],
                 position: (156, 51),
                },
                position: (156, 20),
               },
              },
              Raw {
               content: "\n",
               position: (156, 57),
              },
             ],
             position: (142, 7),
            },
           ],
          },
          position: (141, 18),
         },
        },
       ],
       target: FunctionApplication {
        function: Variable {
         identifier: "mkIf",
         position: (159, 5),
        },
        arguments: [
         PropertyAccess {
          expression: Variable {
           identifier: "cfg",
           position: (159, 10),
          },
          attribute_path: AttributePath {
           parts: [
            Raw {
             content: "enable",
             position: (159, 14),
            },
           ],
          },
          default: None,
         },
         Map {
          bindings: [
           Binding {
            from: AttributePath {
             parts: [
              Raw {
               content: "assertions",
               position: (160, 7),
              },
             ],
            },
            to: List {
             elements: [
              Map {
               bindings: [
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "assertion",
                    position: (161, 11),
                   },
                  ],
                 },
                 to: PropertyAccess {
                  expression: Variable {
                   identifier: "config",
                   position: (161, 23),
                  },
                  attribute_path: AttributePath {
                   parts: [
                    Raw {
                     content: "services",
                     position: (161, 30),
                    },
                    Raw {
                     content: "clamav",
                     position: (161, 39),
                    },
                    Raw {
                     content: "daemon",
                     position: (161, 46),
                    },
                    Raw {
                     content: "enable",
                     position: (161, 53),
                    },
                   ],
                  },
                  default: None,
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "message",
                    position: (162, 11),
                   },
                  ],
                 },
                 to: String {
                  parts: [
                   Raw {
                    content: "clamsmtp requires clamav to be enabled",
                    position: (162, 22),
                   },
                  ],
                  position: (162, 21),
                 },
                },
               ],
               recursive: false,
               position: (161, 9),
              },
             ],
             position: (160, 20),
            },
           },
           Binding {
            from: AttributePath {
             parts: [
              Raw {
               content: "systemd",
               position: (166, 7),
              },
              Raw {
               content: "services",
               position: (166, 15),
              },
             ],
            },
            to: FunctionApplication {
             function: Variable {
              identifier: "listToAttrs",
              position: (166, 26),
             },
             arguments: [
              Parentheses {
               expression: FunctionApplication {
                function: Variable {
                 identifier: "imap1",
                 position: (166, 39),
                },
                arguments: [
                 Parentheses {
                  expression: Function {
                   argument: Simple {
                    identifier: "i",
                   },
                   definition: Function {
                    argument: Simple {
                     identifier: "conf",
                    },
                    definition: FunctionApplication {
                     function: Variable {
                      identifier: "nameValuePair",
                      position: (167, 9),
                     },
                     arguments: [
                      String {
                       parts: [
                        Raw {
                         content: "clamsmtp-",
                         position: (167, 24),
                        },
                        Interpolation {
                         expression: FunctionApplication {
                          function: Variable {
                           identifier: "toString",
                           position: (167, 35),
                          },
                          arguments: [
                           Variable {
                            identifier: "i",
                            position: (167, 44),
                           },
                          ],
                         },
                        },
                       ],
                       position: (167, 23),
                      },
                      Map {
                       bindings: [
                        Binding {
                         from: AttributePath {
                          parts: [
                           Raw {
                            content: "description",
                            position: (168, 11),
                           },
                          ],
                         },
                         to: String {
                          parts: [
                           Raw {
                            content: "ClamSMTP instance ",
                            position: (168, 26),
                           },
                           Interpolation {
                            expression: FunctionApplication {
                             function: Variable {
                              identifier: "toString",
                              position: (168, 46),
                             },
                             arguments: [
                              Variable {
                               identifier: "i",
                               position: (168, 55),
                              },
                             ],
                            },
                           },
                          ],
                          position: (168, 25),
                         },
                        },
                        Binding {
                         from: AttributePath {
                          parts: [
                           Raw {
                            content: "wantedBy",
                            position: (169, 11),
                           },
                          ],
                         },
                         to: List {
                          elements: [
                           String {
                            parts: [
                             Raw {
                              content: "multi-user.target",
                              position: (169, 25),
                             },
                            ],
                            position: (169, 24),
                           },
                          ],
                          position: (169, 22),
                         },
                        },
                        Binding {
                         from: AttributePath {
                          parts: [
                           Raw {
                            content: "script",
                            position: (170, 11),
                           },
                          ],
                         },
                         to: String {
                          parts: [
                           Raw {
                            content: "exec ",
                            position: (170, 21),
                           },
                           Interpolation {
                            expression: PropertyAccess {
                             expression: Variable {
                              identifier: "pkgs",
                              position: (170, 28),
                             },
                             attribute_path: AttributePath {
                              parts: [
                               Raw {
                                content: "clamsmtp",
                                position: (170, 33),
                               },
                              ],
                             },
                             default: None,
                            },
                           },
                           Raw {
                            content: "/bin/clamsmtpd -f ",
                            position: (170, 42),
                           },
                           Interpolation {
                            expression: FunctionApplication {
                             function: Variable {
                              identifier: "configfile",
                              position: (170, 62),
                             },
                             arguments: [
                              Variable {
                               identifier: "conf",
                               position: (170, 73),
                              },
                             ],
                            },
                           },
                          ],
                          position: (170, 20),
                         },
                        },
                        Binding {
                         from: AttributePath {
                          parts: [
                           Raw {
                            content: "after",
                            position: (171, 11),
                           },
                          ],
                         },
                         to: List {
                          elements: [
                           String {
                            parts: [
                             Raw {
                              content: "clamav-daemon.service",
                              position: (171, 22),
                             },
                            ],
                            position: (171, 21),
                           },
                          ],
                          position: (171, 19),
                         },
                        },
                        Binding {
                         from: AttributePath {
                          parts: [
                           Raw {
                            content: "requires",
                            position: (172, 11),
                           },
                          ],
                         },
                         to: List {
                          elements: [
                           String {
                            parts: [
                             Raw {
                              content: "clamav-daemon.service",
                              position: (172, 25),
                             },
                            ],
                            position: (172, 24),
                           },
                          ],
                          position: (172, 22),
                         },
                        },
                        Binding {
                         from: AttributePath {
                          parts: [
                           Raw {
                            content: "serviceConfig",
                            position: (173, 11),
                           },
                           Raw {
                            content: "Type",
                            position: (173, 25),
                           },
                          ],
                         },
                         to: String {
                          parts: [
                           Raw {
                            content: "forking",
                            position: (173, 33),
                           },
                          ],
                          position: (173, 32),
                         },
                        },
                        Binding {
                         from: AttributePath {
                          parts: [
                           Raw {
                            content: "serviceConfig",
                            position: (174, 11),
                           },
                           Raw {
                            content: "PrivateTmp",
                            position: (174, 25),
                           },
                          ],
                         },
                         to: String {
                          parts: [
                           Raw {
                            content: "yes",
                            position: (174, 39),
                           },
                          ],
                          position: (174, 38),
                         },
                        },
                        Binding {
                         from: AttributePath {
                          parts: [
                           Raw {
                            content: "unitConfig",
                            position: (175, 11),
                           },
                           Raw {
                            content: "JoinsNamespaceOf",
                            position: (175, 22),
                           },
                          ],
                         },
                         to: String {
                          parts: [
                           Raw {
                            content: "clamav-daemon.service",
                            position: (175, 42),
                           },
                          ],
                          position: (175, 41),
                         },
                        },
                       ],
                       recursive: false,
                       position: (167, 48),
                      },
                     ],
                    },
                    position: (166, 49),
                   },
                   position: (166, 46),
                  },
                  position: (166, 45),
                 },
                 PropertyAccess {
                  expression: Variable {
                   identifier: "cfg",
                   position: (177, 9),
                  },
                  attribute_path: AttributePath {
                   parts: [
                    Raw {
                     content: "instances",
                     position: (177, 13),
                    },
                   ],
                  },
                  default: None,
                 },
                ],
               },
               position: (166, 38),
              },
             ],
            },
           },
          ],
          recursive: false,
          position: (159, 21),
         },
        ],
       },
       position: (140, 12),
      },
     },
     Binding {
      from: AttributePath {
       parts: [
        Raw {
         content: "meta",
         position: (180, 3),
        },
        Raw {
         content: "maintainers",
         position: (180, 8),
        },
       ],
      },
      to: With {
       expression: PropertyAccess {
        expression: Variable {
         identifier: "lib",
         position: (180, 27),
        },
        attribute_path: AttributePath {
         parts: [
          Raw {
           content: "maintainers",
           position: (180, 31),
          },
         ],
        },
        default: None,
       },
       target: List {
        elements: [
         Variable {
          identifier: "ekleog",
          position: (180, 46),
         },
        ],
        position: (180, 44),
       },
       position: (180, 22),
      },
     },
    ],
    recursive: false,
    position: (8, 1),
   },
   position: (4, 1),
  },
  position: (3, 1),
 },
 position: (1, 1),
}