---
Function {
 argument: None,
 arguments: FunctionArguments {
  arguments: [
   FunctionArgument {
    identifier: "options",
    default: None,
   },
   FunctionArgument {
    identifier: "pkgs",
    default: None,
   },
   FunctionArgument {
    identifier: "lib",
    default: None,
   },
   FunctionArgument {
    identifier: "config",
    default: None,
   },
  ],
  ellipsis: false,
 },
 definition: With {
  expression: Variable {
   identifier: "lib",
   position: (3, 6),
  },
  target: LetIn {
   bindings: [
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "cfg",
        position: (6, 3),
       },
      ],
     },
     PropertyAccess {
      expression: Variable {
       identifier: "config",
       position: (6, 9),
      },
      attribute_path: AttributePath {
       attributes: [
        Raw {
         content: "services",
         position: (6, 16),
        },
        Raw {
         content: "prometheus",
         position: (6, 25),
        },
        Raw {
         content: "exporters",
         position: (6, 36),
        },
        Raw {
         content: "node",
         position: (6, 46),
        },
       ],
      },
      default: None,
     },
    ),
   ],
   target: Map {
    bindings: [
     KeyValue(
      AttributePath {
       attributes: [
        Raw {
         content: "port",
         position: (9, 3),
        },
       ],
      },
      Int {
       value: 9100,
       position: (9, 10),
      },
     ),
     KeyValue(
      AttributePath {
       attributes: [
        Raw {
         content: "extraOpts",
         position: (10, 3),
        },
       ],
      },
      Map {
       bindings: [
        KeyValue(
         AttributePath {
          attributes: [
           Raw {
            content: "enabledCollectors",
            position: (11, 5),
           },
          ],
         },
         FunctionApplication {
          function: Variable {
           identifier: "mkOption",
           position: (11, 25),
          },
          arguments: [
           Map {
            bindings: [
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "type",
                 position: (12, 7),
                },
               ],
              },
              FunctionApplication {
               function: PropertyAccess {
                expression: Variable {
                 identifier: "types",
                 position: (12, 14),
                },
                attribute_path: AttributePath {
                 attributes: [
                  Raw {
                   content: "listOf",
                   position: (12, 20),
                  },
                 ],
                },
                default: None,
               },
               arguments: [
                PropertyAccess {
                 expression: Variable {
                  identifier: "types",
                  position: (12, 27),
                 },
                 attribute_path: AttributePath {
                  attributes: [
                   Raw {
                    content: "str",
                    position: (12, 33),
                   },
                  ],
                 },
                 default: None,
                },
               ],
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "default",
                 position: (13, 7),
                },
               ],
              },
              List {
               elements: [],
               position: (13, 17),
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "example",
                 position: (14, 7),
                },
               ],
              },
              List {
               elements: [
                String {
                 parts: [
                  Raw {
                   content: "systemd",
                   position: (14, 20),
                  },
                 ],
                },
               ],
               position: (14, 17),
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "description",
                 position: (15, 7),
                },
               ],
              },
              String {
               parts: [
                Raw {
                 content: "Collectors to enable. The collectors listed here are enabled in addition to the default ones.\n",
                 position: (16, 1),
                },
               ],
              },
             ),
            ],
            recursive: false,
            position: (11, 34),
           },
          ],
         },
        ),
        KeyValue(
         AttributePath {
          attributes: [
           Raw {
            content: "disabledCollectors",
            position: (19, 5),
           },
          ],
         },
         FunctionApplication {
          function: Variable {
           identifier: "mkOption",
           position: (19, 26),
          },
          arguments: [
           Map {
            bindings: [
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "type",
                 position: (20, 7),
                },
               ],
              },
              FunctionApplication {
               function: PropertyAccess {
                expression: Variable {
                 identifier: "types",
                 position: (20, 14),
                },
                attribute_path: AttributePath {
                 attributes: [
                  Raw {
                   content: "listOf",
                   position: (20, 20),
                  },
                 ],
                },
                default: None,
               },
               arguments: [
                PropertyAccess {
                 expression: Variable {
                  identifier: "types",
                  position: (20, 27),
                 },
                 attribute_path: AttributePath {
                  attributes: [
                   Raw {
                    content: "str",
                    position: (20, 33),
                   },
                  ],
                 },
                 default: None,
                },
               ],
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "default",
                 position: (21, 7),
                },
               ],
              },
              List {
               elements: [],
               position: (21, 17),
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "example",
                 position: (22, 7),
                },
               ],
              },
              List {
               elements: [
                String {
                 parts: [
                  Raw {
                   content: "timex",
                   position: (22, 20),
                  },
                 ],
                },
               ],
               position: (22, 17),
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "description",
                 position: (23, 7),
                },
               ],
              },
              String {
               parts: [
                Raw {
                 content: "Collectors to disable which are enabled by default.\n",
                 position: (24, 1),
                },
               ],
              },
             ),
            ],
            recursive: false,
            position: (19, 35),
           },
          ],
         },
        ),
       ],
       recursive: false,
       position: (10, 15),
      },
     ),
     KeyValue(
      AttributePath {
       attributes: [
        Raw {
         content: "serviceOpts",
         position: (28, 3),
        },
       ],
      },
      Map {
       bindings: [
        KeyValue(
         AttributePath {
          attributes: [
           Raw {
            content: "serviceConfig",
            position: (29, 5),
           },
          ],
         },
         Map {
          bindings: [
           KeyValue(
            AttributePath {
             attributes: [
              Raw {
               content: "DynamicUser",
               position: (30, 7),
              },
             ],
            },
            Variable {
             identifier: "false",
             position: (30, 21),
            },
           ),
           KeyValue(
            AttributePath {
             attributes: [
              Raw {
               content: "RuntimeDirectory",
               position: (31, 7),
              },
             ],
            },
            String {
             parts: [
              Raw {
               content: "prometheus-node-exporter",
               position: (31, 27),
              },
             ],
            },
           ),
           KeyValue(
            AttributePath {
             attributes: [
              Raw {
               content: "ExecStart",
               position: (32, 7),
              },
             ],
            },
            String {
             parts: [
              Raw {
               content: "",
               position: (33, 1),
              },
              Expression {
               expression: PropertyAccess {
                expression: Variable {
                 identifier: "pkgs",
                 position: (33, 11),
                },
                attribute_path: AttributePath {
                 attributes: [
                  Raw {
                   content: "prometheus-node-exporter",
                   position: (33, 16),
                  },
                 ],
                },
                default: None,
               },
              },
              Raw {
               content: "/bin/node_exporter \\\n  ",
               position: (33, 41),
              },
              Expression {
               expression: FunctionApplication {
                function: Variable {
                 identifier: "concatMapStringsSep",
                 position: (34, 13),
                },
                arguments: [
                 String {
                  parts: [
                   Raw {
                    content: " ",
                    position: (34, 34),
                   },
                  ],
                 },
                 Function {
                  argument: Some(
                   "x",
                  ),
                  arguments: FunctionArguments {
                   arguments: [],
                   ellipsis: false,
                  },
                  definition: BinaryOperation {
                   operator: Addition,
                   operands: [
                    String {
                     parts: [
                      Raw {
                       content: "--collector.",
                       position: (34, 42),
                      },
                     ],
                    },
                    Variable {
                     identifier: "x",
                     position: (34, 58),
                    },
                   ],
                   position: (34, 56),
                  },
                  position: (34, 38),
                 },
                 PropertyAccess {
                  expression: Variable {
                   identifier: "cfg",
                   position: (34, 61),
                  },
                  attribute_path: AttributePath {
                   attributes: [
                    Raw {
                     content: "enabledCollectors",
                     position: (34, 65),
                    },
                   ],
                  },
                  default: None,
                 },
                ],
               },
              },
              Raw {
               content: " \\\n  ",
               position: (34, 83),
              },
              Expression {
               expression: FunctionApplication {
                function: Variable {
                 identifier: "concatMapStringsSep",
                 position: (35, 13),
                },
                arguments: [
                 String {
                  parts: [
                   Raw {
                    content: " ",
                    position: (35, 34),
                   },
                  ],
                 },
                 Function {
                  argument: Some(
                   "x",
                  ),
                  arguments: FunctionArguments {
                   arguments: [],
                   ellipsis: false,
                  },
                  definition: BinaryOperation {
                   operator: Addition,
                   operands: [
                    String {
                     parts: [
                      Raw {
                       content: "--no-collector.",
                       position: (35, 42),
                      },
                     ],
                    },
                    Variable {
                     identifier: "x",
                     position: (35, 61),
                    },
                   ],
                   position: (35, 59),
                  },
                  position: (35, 38),
                 },
                 PropertyAccess {
                  expression: Variable {
                   identifier: "cfg",
                   position: (35, 64),
                  },
                  attribute_path: AttributePath {
                   attributes: [
                    Raw {
                     content: "disabledCollectors",
                     position: (35, 68),
                    },
                   ],
                  },
                  default: None,
                 },
                ],
               },
              },
              Raw {
               content: " \\\n  --web.listen-address ",
               position: (35, 87),
              },
              Expression {
               expression: PropertyAccess {
                expression: Variable {
                 identifier: "cfg",
                 position: (36, 34),
                },
                attribute_path: AttributePath {
                 attributes: [
                  Raw {
                   content: "listenAddress",
                   position: (36, 38),
                  },
                 ],
                },
                default: None,
               },
              },
              Raw {
               content: ":",
               position: (36, 52),
              },
              Expression {
               expression: FunctionApplication {
                function: Variable {
                 identifier: "toString",
                 position: (36, 55),
                },
                arguments: [
                 PropertyAccess {
                  expression: Variable {
                   identifier: "cfg",
                   position: (36, 64),
                  },
                  attribute_path: AttributePath {
                   attributes: [
                    Raw {
                     content: "port",
                     position: (36, 68),
                    },
                   ],
                  },
                  default: None,
                 },
                ],
               },
              },
              Raw {
               content: " ",
               position: (36, 73),
              },
              Expression {
               expression: FunctionApplication {
                function: Variable {
                 identifier: "concatStringsSep",
                 position: (36, 76),
                },
                arguments: [
                 String {
                  parts: [
                   Raw {
                    content: " ",
                    position: (36, 94),
                   },
                  ],
                 },
                 PropertyAccess {
                  expression: Variable {
                   identifier: "cfg",
                   position: (36, 97),
                  },
                  attribute_path: AttributePath {
                   attributes: [
                    Raw {
                     content: "extraFlags",
                     position: (36, 101),
                    },
                   ],
                  },
                  default: None,
                 },
                ],
               },
              },
              Raw {
               content: "\n",
               position: (36, 112),
              },
             ],
            },
           ),
           KeyValue(
            AttributePath {
             attributes: [
              Raw {
               content: "RestrictAddressFamilies",
               position: (38, 7),
              },
             ],
            },
            BinaryOperation {
             operator: Concatenation,
             operands: [
              FunctionApplication {
               function: Variable {
                identifier: "optionals",
                position: (38, 33),
               },
               arguments: [
                FunctionApplication {
                 function: Variable {
                  identifier: "any",
                  position: (38, 44),
                 },
                 arguments: [
                  Function {
                   argument: Some(
                    "collector",
                   ),
                   arguments: FunctionArguments {
                    arguments: [],
                    ellipsis: false,
                   },
                   definition: BinaryOperation {
                    operator: LogicalOr,
                    operands: [
                     BinaryOperation {
                      operator: EqualTo,
                      operands: [
                       Variable {
                        identifier: "collector",
                        position: (38, 61),
                       },
                       String {
                        parts: [
                         Raw {
                          content: "logind",
                          position: (38, 75),
                         },
                        ],
                       },
                      ],
                      position: (38, 71),
                     },
                     BinaryOperation {
                      operator: EqualTo,
                      operands: [
                       Variable {
                        identifier: "collector",
                        position: (38, 86),
                       },
                       String {
                        parts: [
                         Raw {
                          content: "systemd",
                          position: (38, 100),
                         },
                        ],
                       },
                      ],
                      position: (38, 96),
                     },
                    ],
                    position: (38, 83),
                   },
                   position: (38, 49),
                  },
                  PropertyAccess {
                   expression: Variable {
                    identifier: "cfg",
                    position: (38, 111),
                   },
                   attribute_path: AttributePath {
                    attributes: [
                     Raw {
                      content: "enabledCollectors",
                      position: (38, 115),
                     },
                    ],
                   },
                   default: None,
                  },
                 ],
                },
                List {
                 elements: [
                  String {
                   parts: [
                    Raw {
                     content: "AF_UNIX",
                     position: (40, 10),
                    },
                   ],
                  },
                 ],
                 position: (38, 134),
                },
               ],
              },
              FunctionApplication {
               function: Variable {
                identifier: "optionals",
                position: (41, 12),
               },
               arguments: [
                FunctionApplication {
                 function: Variable {
                  identifier: "any",
                  position: (41, 23),
                 },
                 arguments: [
                  Function {
                   argument: Some(
                    "collector",
                   ),
                   arguments: FunctionArguments {
                    arguments: [],
                    ellipsis: false,
                   },
                   definition: BinaryOperation {
                    operator: LogicalOr,
                    operands: [
                     BinaryOperation {
                      operator: EqualTo,
                      operands: [
                       Variable {
                        identifier: "collector",
                        position: (41, 40),
                       },
                       String {
                        parts: [
                         Raw {
                          content: "network_route",
                          position: (41, 54),
                         },
                        ],
                       },
                      ],
                      position: (41, 50),
                     },
                     BinaryOperation {
                      operator: EqualTo,
                      operands: [
                       Variable {
                        identifier: "collector",
                        position: (41, 72),
                       },
                       String {
                        parts: [
                         Raw {
                          content: "wifi",
                          position: (41, 86),
                         },
                        ],
                       },
                      ],
                      position: (41, 82),
                     },
                    ],
                    position: (41, 69),
                   },
                   position: (41, 28),
                  },
                  PropertyAccess {
                   expression: Variable {
                    identifier: "cfg",
                    position: (41, 94),
                   },
                   attribute_path: AttributePath {
                    attributes: [
                     Raw {
                      content: "enabledCollectors",
                      position: (41, 98),
                     },
                    ],
                   },
                   default: None,
                  },
                 ],
                },
                List {
                 elements: [
                  String {
                   parts: [
                    Raw {
                     content: "AF_NETLINK",
                     position: (43, 10),
                    },
                   ],
                  },
                 ],
                 position: (41, 117),
                },
               ],
              },
             ],
             position: (41, 9),
            },
           ),
           KeyValue(
            AttributePath {
             attributes: [
              Raw {
               content: "ProtectClock",
               position: (46, 7),
              },
             ],
            },
            FunctionApplication {
             function: Variable {
              identifier: "any",
              position: (46, 22),
             },
             arguments: [
              Function {
               argument: Some(
                "collector",
               ),
               arguments: FunctionArguments {
                arguments: [],
                ellipsis: false,
               },
               definition: BinaryOperation {
                operator: EqualTo,
                operands: [
                 Variable {
                  identifier: "collector",
                  position: (46, 38),
                 },
                 String {
                  parts: [
                   Raw {
                    content: "timex",
                    position: (46, 52),
                   },
                  ],
                 },
                ],
                position: (46, 48),
               },
               position: (46, 27),
              },
              PropertyAccess {
               expression: Variable {
                identifier: "cfg",
                position: (46, 60),
               },
               attribute_path: AttributePath {
                attributes: [
                 Raw {
                  content: "disabledCollectors",
                  position: (46, 64),
                 },
                ],
               },
               default: None,
              },
             ],
            },
           ),
          ],
          recursive: false,
          position: (29, 21),
         },
        ),
       ],
       recursive: false,
       position: (28, 17),
      },
     ),
    ],
    recursive: false,
    position: (8, 1),
   },
   position: (5, 1),
  },
  position: (3, 1),
 },
 position: (1, 1),
}