---
Function {
 argument: Destructured {
  identifier: None,
  arguments: [
   DestructuredArgument {
    identifier: "config",
    default: None,
   },
   DestructuredArgument {
    identifier: "lib",
    default: None,
   },
   DestructuredArgument {
    identifier: "pkgs",
    default: None,
   },
   DestructuredArgument {
    identifier: "options",
    default: None,
   },
  ],
  ellipsis: false,
 },
 definition: With {
  expression: Variable {
   identifier: "lib",
   position: (7, 6),
  },
  target: LetIn {
   bindings: [
    Binding {
     from: AttributePath {
      parts: [
       Raw {
        content: "cfg",
        position: (10, 3),
       },
      ],
     },
     to: PropertyAccess {
      expression: Variable {
       identifier: "config",
       position: (10, 9),
      },
      attribute_path: AttributePath {
       parts: [
        Raw {
         content: "services",
         position: (10, 16),
        },
        Raw {
         content: "prometheus",
         position: (10, 25),
        },
        Raw {
         content: "exporters",
         position: (10, 36),
        },
        Raw {
         content: "kea",
         position: (10, 46),
        },
       ],
      },
      default: None,
     },
    },
   ],
   target: Map {
    bindings: [
     Binding {
      from: AttributePath {
       parts: [
        Raw {
         content: "port",
         position: (12, 3),
        },
       ],
      },
      to: Int {
       value: 9547,
       position: (12, 10),
      },
     },
     Binding {
      from: AttributePath {
       parts: [
        Raw {
         content: "extraOpts",
         position: (13, 3),
        },
       ],
      },
      to: Map {
       bindings: [
        Binding {
         from: AttributePath {
          parts: [
           Raw {
            content: "controlSocketPaths",
            position: (14, 5),
           },
          ],
         },
         to: FunctionApplication {
          function: Variable {
           identifier: "mkOption",
           position: (14, 26),
          },
          arguments: [
           Map {
            bindings: [
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "type",
                 position: (15, 7),
                },
               ],
              },
              to: FunctionApplication {
               function: PropertyAccess {
                expression: Variable {
                 identifier: "types",
                 position: (15, 14),
                },
                attribute_path: AttributePath {
                 parts: [
                  Raw {
                   content: "listOf",
                   position: (15, 20),
                  },
                 ],
                },
                default: None,
               },
               arguments: [
                PropertyAccess {
                 expression: Variable {
                  identifier: "types",
                  position: (15, 27),
                 },
                 attribute_path: AttributePath {
                  parts: [
                   Raw {
                    content: "str",
                    position: (15, 33),
                   },
                  ],
                 },
                 default: None,
                },
               ],
              },
             },
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "example",
                 position: (16, 7),
                },
               ],
              },
              to: FunctionApplication {
               function: Variable {
                identifier: "literalExpression",
                position: (16, 17),
               },
               arguments: [
                String {
                 parts: [
                  Raw {
                   content: "[\n  \"/run/kea/kea-dhcp4.socket\"\n  \"/run/kea/kea-dhcp6.socket\"\n]\n",
                   position: (17, 1),
                  },
                 ],
                 position: (16, 35),
                },
               ],
              },
             },
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "description",
                 position: (22, 7),
                },
               ],
              },
              to: String {
               parts: [
                Raw {
                 content: "Paths to kea control sockets\n",
                 position: (23, 1),
                },
               ],
               position: (22, 21),
              },
             },
            ],
            recursive: false,
            position: (14, 35),
           },
          ],
         },
        },
       ],
       recursive: false,
       position: (13, 15),
      },
     },
     Binding {
      from: AttributePath {
       parts: [
        Raw {
         content: "serviceOpts",
         position: (27, 3),
        },
       ],
      },
      to: Map {
       bindings: [
        Binding {
         from: AttributePath {
          parts: [
           Raw {
            content: "after",
            position: (28, 5),
           },
          ],
         },
         to: List {
          elements: [
           String {
            parts: [
             Raw {
              content: "kea-dhcp4-server.service",
              position: (29, 8),
             },
            ],
            position: (29, 7),
           },
           String {
            parts: [
             Raw {
              content: "kea-dhcp6-server.service",
              position: (30, 8),
             },
            ],
            position: (30, 7),
           },
          ],
          position: (28, 13),
         },
        },
        Binding {
         from: AttributePath {
          parts: [
           Raw {
            content: "serviceConfig",
            position: (32, 5),
           },
          ],
         },
         to: Map {
          bindings: [
           Binding {
            from: AttributePath {
             parts: [
              Raw {
               content: "User",
               position: (33, 7),
              },
             ],
            },
            to: String {
             parts: [
              Raw {
               content: "kea",
               position: (33, 15),
              },
             ],
             position: (33, 14),
            },
           },
           Binding {
            from: AttributePath {
             parts: [
              Raw {
               content: "ExecStart",
               position: (34, 7),
              },
             ],
            },
            to: String {
             parts: [
              Raw {
               content: "",
               position: (35, 1),
              },
              Expression {
               expression: PropertyAccess {
                expression: Variable {
                 identifier: "pkgs",
                 position: (35, 11),
                },
                attribute_path: AttributePath {
                 parts: [
                  Raw {
                   content: "prometheus-kea-exporter",
                   position: (35, 16),
                  },
                 ],
                },
                default: None,
               },
              },
              Raw {
               content: "/bin/kea-exporter \\\n  --address ",
               position: (35, 40),
              },
              Expression {
               expression: PropertyAccess {
                expression: Variable {
                 identifier: "cfg",
                 position: (36, 23),
                },
                attribute_path: AttributePath {
                 parts: [
                  Raw {
                   content: "listenAddress",
                   position: (36, 27),
                  },
                 ],
                },
                default: None,
               },
              },
              Raw {
               content: " \\\n  --port ",
               position: (36, 41),
              },
              Expression {
               expression: FunctionApplication {
                function: Variable {
                 identifier: "toString",
                 position: (37, 20),
                },
                arguments: [
                 PropertyAccess {
                  expression: Variable {
                   identifier: "cfg",
                   position: (37, 29),
                  },
                  attribute_path: AttributePath {
                   parts: [
                    Raw {
                     content: "port",
                     position: (37, 33),
                    },
                   ],
                  },
                  default: None,
                 },
                ],
               },
              },
              Raw {
               content: " \\\n  ",
               position: (37, 38),
              },
              Expression {
               expression: FunctionApplication {
                function: Variable {
                 identifier: "concatStringsSep",
                 position: (38, 13),
                },
                arguments: [
                 String {
                  parts: [
                   Raw {
                    content: " \\n",
                    position: (38, 31),
                   },
                  ],
                  position: (38, 30),
                 },
                 PropertyAccess {
                  expression: Variable {
                   identifier: "cfg",
                   position: (38, 37),
                  },
                  attribute_path: AttributePath {
                   parts: [
                    Raw {
                     content: "controlSocketPaths",
                     position: (38, 41),
                    },
                   ],
                  },
                  default: None,
                 },
                ],
               },
              },
              Raw {
               content: "\n",
               position: (38, 60),
              },
             ],
             position: (34, 19),
            },
           },
           Binding {
            from: AttributePath {
             parts: [
              Raw {
               content: "SupplementaryGroups",
               position: (40, 7),
              },
             ],
            },
            to: List {
             elements: [
              String {
               parts: [
                Raw {
                 content: "kea",
                 position: (40, 32),
                },
               ],
               position: (40, 31),
              },
             ],
             position: (40, 29),
            },
           },
           Binding {
            from: AttributePath {
             parts: [
              Raw {
               content: "RestrictAddressFamilies",
               position: (41, 7),
              },
             ],
            },
            to: List {
             elements: [
              String {
               parts: [
                Raw {
                 content: "AF_UNIX",
                 position: (43, 10),
                },
               ],
               position: (43, 9),
              },
             ],
             position: (41, 33),
            },
           },
          ],
          recursive: false,
          position: (32, 21),
         },
        },
       ],
       recursive: false,
       position: (27, 17),
      },
     },
    ],
    recursive: false,
    position: (11, 4),
   },
   position: (9, 1),
  },
  position: (7, 1),
 },
 position: (1, 1),
}