---
Function {
 argument: None,
 arguments: FunctionArguments {
  arguments: [
   FunctionArgument {
    identifier: "pkgs",
    default: None,
   },
   FunctionArgument {
    identifier: "lib",
    default: None,
   },
   FunctionArgument {
    identifier: "config",
    default: None,
   },
  ],
  ellipsis: true,
 },
 definition: With {
  expression: Variable {
   identifier: "lib",
   position: (5, 6),
  },
  target: LetIn {
   bindings: [
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "settingsFormat",
        position: (8, 3),
       },
      ],
     },
     FunctionApplication {
      function: PropertyAccess {
       expression: Variable {
        identifier: "pkgs",
        position: (8, 20),
       },
       attribute_path: AttributePath {
        attributes: [
         Raw {
          content: "formats",
          position: (8, 25),
         },
         Raw {
          content: "ini",
          position: (8, 33),
         },
        ],
       },
       default: None,
      },
      arguments: [
       Map {
        bindings: [
         KeyValue(
          AttributePath {
           attributes: [
            Raw {
             content: "listToValue",
             position: (9, 5),
            },
           ],
          },
          FunctionApplication {
           function: Variable {
            identifier: "concatMapStringsSep",
            position: (9, 19),
           },
           arguments: [
            String {
             parts: [
              Raw {
               content: ",",
              },
             ],
             position: (9, 39),
            },
            FunctionApplication {
             function: PropertyAccess {
              expression: Variable {
               identifier: "generators",
               position: (9, 44),
              },
              attribute_path: AttributePath {
               attributes: [
                Raw {
                 content: "mkValueStringDefault",
                 position: (9, 55),
                },
               ],
              },
              default: None,
             },
             arguments: [
              Map {
               bindings: [],
               recursive: false,
               position: (9, 76),
              },
             ],
            },
           ],
          },
         ),
        ],
        recursive: false,
        position: (8, 37),
       },
      ],
     },
    ),
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "configFiles",
        position: (11, 3),
       },
      ],
     },
     FunctionApplication {
      function: Variable {
       identifier: "mapAttrs",
       position: (11, 17),
      },
      arguments: [
       Function {
        argument: Some(
         "name",
        ),
        arguments: FunctionArguments {
         arguments: [],
         ellipsis: false,
        },
        definition: Function {
         argument: Some(
          "value",
         ),
         arguments: FunctionArguments {
          arguments: [],
          ellipsis: false,
         },
         definition: FunctionApplication {
          function: PropertyAccess {
           expression: Variable {
            identifier: "settingsFormat",
            position: (11, 41),
           },
           attribute_path: AttributePath {
            attributes: [
             Raw {
              content: "generate",
              position: (11, 56),
             },
            ],
           },
           default: None,
          },
          arguments: [
           Variable {
            identifier: "name",
            position: (11, 65),
           },
           Variable {
            identifier: "value",
            position: (11, 70),
           },
          ],
         },
         position: (11, 33),
        },
        position: (11, 27),
       },
       FunctionApplication {
        function: Variable {
         identifier: "mapAttrs'",
         position: (11, 79),
        },
        arguments: [
         Function {
          argument: Some(
           "name",
          ),
          arguments: FunctionArguments {
           arguments: [],
           ellipsis: false,
          },
          definition: Function {
           argument: Some(
            "value",
           ),
           arguments: FunctionArguments {
            arguments: [],
            ellipsis: false,
           },
           definition: FunctionApplication {
            function: Variable {
             identifier: "nameValuePair",
             position: (11, 103),
            },
            arguments: [
             Variable {
              identifier: "name",
              position: (11, 117),
             },
             Variable {
              identifier: "value",
              position: (11, 122),
             },
            ],
           },
           position: (11, 96),
          },
          position: (11, 90),
         },
         PropertyAccess {
          expression: Variable {
           identifier: "config",
           position: (11, 130),
          },
          attribute_path: AttributePath {
           attributes: [
            Raw {
             content: "services",
             position: (11, 137),
            },
            Raw {
             content: "udisks2",
             position: (11, 146),
            },
            Raw {
             content: "settings",
             position: (11, 154),
            },
           ],
          },
          default: None,
         },
        ],
       },
      ],
     },
    ),
   ],
   target: Map {
    bindings: [
     KeyValue(
      AttributePath {
       attributes: [
        Raw {
         content: "options",
         position: (18, 3),
        },
       ],
      },
      Map {
       bindings: [
        KeyValue(
         AttributePath {
          attributes: [
           Raw {
            content: "services",
            position: (20, 5),
           },
           Raw {
            content: "udisks2",
            position: (20, 14),
           },
          ],
         },
         Map {
          bindings: [
           KeyValue(
            AttributePath {
             attributes: [
              Raw {
               content: "enable",
               position: (22, 7),
              },
             ],
            },
            FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (22, 16),
             },
             arguments: [
              Map {
               bindings: [
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "type",
                    position: (23, 9),
                   },
                  ],
                 },
                 PropertyAccess {
                  expression: Variable {
                   identifier: "types",
                   position: (23, 16),
                  },
                  attribute_path: AttributePath {
                   attributes: [
                    Raw {
                     content: "bool",
                     position: (23, 22),
                    },
                   ],
                  },
                  default: None,
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "default",
                    position: (24, 9),
                   },
                  ],
                 },
                 Variable {
                  identifier: "true",
                  position: (24, 19),
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "description",
                    position: (25, 9),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "Whether to enable Udisks, a DBus service that allows\napplications to query and manipulate storage devices.\n",
                   },
                  ],
                  position: (25, 23),
                 },
                ),
               ],
               recursive: false,
               position: (22, 25),
              },
             ],
            },
           ),
           KeyValue(
            AttributePath {
             attributes: [
              Raw {
               content: "settings",
               position: (31, 7),
              },
             ],
            },
            FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (31, 18),
             },
             arguments: [
              Map {
               bindings: [
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "type",
                    position: (32, 9),
                   },
                  ],
                 },
                 FunctionApplication {
                  function: PropertyAccess {
                   expression: Variable {
                    identifier: "types",
                    position: (32, 16),
                   },
                   attribute_path: AttributePath {
                    attributes: [
                     Raw {
                      content: "attrsOf",
                      position: (32, 22),
                     },
                    ],
                   },
                   default: None,
                  },
                  arguments: [
                   PropertyAccess {
                    expression: Variable {
                     identifier: "settingsFormat",
                     position: (32, 30),
                    },
                    attribute_path: AttributePath {
                     attributes: [
                      Raw {
                       content: "type",
                       position: (32, 45),
                      },
                     ],
                    },
                    default: None,
                   },
                  ],
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "apply",
                    position: (33, 9),
                   },
                  ],
                 },
                 FunctionApplication {
                  function: Variable {
                   identifier: "recursiveUpdate",
                   position: (33, 17),
                  },
                  arguments: [
                   Variable {
                    identifier: "default",
                    position: (33, 33),
                   },
                  ],
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "default",
                    position: (34, 9),
                   },
                  ],
                 },
                 Map {
                  bindings: [
                   KeyValue(
                    AttributePath {
                     attributes: [
                      Expression {
                       expression: __StringParts(
                        [
                         Raw {
                          content: "udisks2.conf",
                         },
                        ],
                       ),
                      },
                     ],
                    },
                    Map {
                     bindings: [
                      KeyValue(
                       AttributePath {
                        attributes: [
                         Raw {
                          content: "udisks2",
                          position: (36, 13),
                         },
                        ],
                       },
                       Map {
                        bindings: [
                         KeyValue(
                          AttributePath {
                           attributes: [
                            Raw {
                             content: "modules",
                             position: (37, 15),
                            },
                           ],
                          },
                          List {
                           elements: [
                            String {
                             parts: [
                              Raw {
                               content: "*",
                              },
                             ],
                             position: (37, 27),
                            },
                           ],
                           position: (37, 25),
                          },
                         ),
                         KeyValue(
                          AttributePath {
                           attributes: [
                            Raw {
                             content: "modules_load_preference",
                             position: (38, 15),
                            },
                           ],
                          },
                          String {
                           parts: [
                            Raw {
                             content: "ondemand",
                            },
                           ],
                           position: (38, 41),
                          },
                         ),
                        ],
                        recursive: false,
                        position: (36, 23),
                       },
                      ),
                      KeyValue(
                       AttributePath {
                        attributes: [
                         Raw {
                          content: "defaults",
                          position: (40, 13),
                         },
                        ],
                       },
                       Map {
                        bindings: [
                         KeyValue(
                          AttributePath {
                           attributes: [
                            Raw {
                             content: "encryption",
                             position: (41, 15),
                            },
                           ],
                          },
                          String {
                           parts: [
                            Raw {
                             content: "luks2",
                            },
                           ],
                           position: (41, 28),
                          },
                         ),
                        ],
                        recursive: false,
                        position: (40, 24),
                       },
                      ),
                     ],
                     recursive: false,
                     position: (35, 28),
                    },
                   ),
                  ],
                  recursive: false,
                  position: (34, 19),
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "example",
                    position: (45, 9),
                   },
                  ],
                 },
                 FunctionApplication {
                  function: Variable {
                   identifier: "literalExpression",
                   position: (45, 19),
                  },
                  arguments: [
                   String {
                    parts: [
                     Raw {
                      content: "{\n  \"WDC-WD10EZEX-60M2NA0-WD-WCC3F3SJ0698.conf\" = {\n    ATA = {\n      StandbyTimeout = 50;\n    };\n  };\n};\n",
                     },
                    ],
                    position: (45, 37),
                   },
                  ],
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "description",
                    position: (54, 9),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "Options passed to udisksd.\nSee <link xlink:href=\"http://manpages.ubuntu.com/manpages/latest/en/man5/udisks2.conf.5.html\">here</link> and\ndrive configuration in <link xlink:href=\"http://manpages.ubuntu.com/manpages/latest/en/man8/udisks.8.html\">here</link> for supported options.\n",
                   },
                  ],
                  position: (54, 23),
                 },
                ),
               ],
               recursive: true,
               position: (31, 27),
              },
             ],
            },
           ),
          ],
          recursive: false,
          position: (20, 24),
         },
        ),
       ],
       recursive: false,
       position: (18, 13),
      },
     ),
     KeyValue(
      AttributePath {
       attributes: [
        Raw {
         content: "config",
         position: (68, 3),
        },
       ],
      },
      FunctionApplication {
       function: Variable {
        identifier: "mkIf",
        position: (68, 12),
       },
       arguments: [
        PropertyAccess {
         expression: Variable {
          identifier: "config",
          position: (68, 17),
         },
         attribute_path: AttributePath {
          attributes: [
           Raw {
            content: "services",
            position: (68, 24),
           },
           Raw {
            content: "udisks2",
            position: (68, 33),
           },
           Raw {
            content: "enable",
            position: (68, 41),
           },
          ],
         },
         default: None,
        },
        Map {
         bindings: [
          KeyValue(
           AttributePath {
            attributes: [
             Raw {
              content: "environment",
              position: (70, 5),
             },
             Raw {
              content: "systemPackages",
              position: (70, 17),
             },
            ],
           },
           List {
            elements: [
             PropertyAccess {
              expression: Variable {
               identifier: "pkgs",
               position: (70, 36),
              },
              attribute_path: AttributePath {
               attributes: [
                Raw {
                 content: "udisks2",
                 position: (70, 41),
                },
               ],
              },
              default: None,
             },
            ],
            position: (70, 34),
           },
          ),
          KeyValue(
           AttributePath {
            attributes: [
             Raw {
              content: "environment",
              position: (72, 5),
             },
             Raw {
              content: "etc",
              position: (72, 17),
             },
            ],
           },
           FunctionApplication {
            function: Variable {
             identifier: "mapAttrs'",
             position: (72, 23),
            },
            arguments: [
             Function {
              argument: Some(
               "name",
              ),
              arguments: FunctionArguments {
               arguments: [],
               ellipsis: false,
              },
              definition: Function {
               argument: Some(
                "value",
               ),
               arguments: FunctionArguments {
                arguments: [],
                ellipsis: false,
               },
               definition: FunctionApplication {
                function: Variable {
                 identifier: "nameValuePair",
                 position: (72, 47),
                },
                arguments: [
                 String {
                  parts: [
                   Raw {
                    content: "udisks2/",
                   },
                   Expression {
                    expression: Variable {
                     identifier: "name",
                     position: (72, 72),
                    },
                   },
                  ],
                  position: (72, 61),
                 },
                 Map {
                  bindings: [
                   KeyValue(
                    AttributePath {
                     attributes: [
                      Raw {
                       content: "source",
                       position: (72, 81),
                      },
                     ],
                    },
                    Variable {
                     identifier: "value",
                     position: (72, 90),
                    },
                   ),
                  ],
                  recursive: false,
                  position: (72, 79),
                 },
                ],
               },
               position: (72, 40),
              },
              position: (72, 34),
             },
             Variable {
              identifier: "configFiles",
              position: (72, 101),
             },
            ],
           },
          ),
          KeyValue(
           AttributePath {
            attributes: [
             Raw {
              content: "security",
              position: (74, 5),
             },
             Raw {
              content: "polkit",
              position: (74, 14),
             },
             Raw {
              content: "enable",
              position: (74, 21),
             },
            ],
           },
           Variable {
            identifier: "true",
            position: (74, 30),
           },
          ),
          KeyValue(
           AttributePath {
            attributes: [
             Raw {
              content: "services",
              position: (76, 5),
             },
             Raw {
              content: "dbus",
              position: (76, 14),
             },
             Raw {
              content: "packages",
              position: (76, 19),
             },
            ],
           },
           List {
            elements: [
             PropertyAccess {
              expression: Variable {
               identifier: "pkgs",
               position: (76, 32),
              },
              attribute_path: AttributePath {
               attributes: [
                Raw {
                 content: "udisks2",
                 position: (76, 37),
                },
               ],
              },
              default: None,
             },
            ],
            position: (76, 30),
           },
          ),
          KeyValue(
           AttributePath {
            attributes: [
             Raw {
              content: "systemd",
              position: (78, 5),
             },
             Raw {
              content: "tmpfiles",
              position: (78, 13),
             },
             Raw {
              content: "rules",
              position: (78, 22),
             },
            ],
           },
           List {
            elements: [
             String {
              parts: [
               Raw {
                content: "d /var/lib/udisks2 0755 root root -",
               },
              ],
              position: (78, 32),
             },
            ],
            position: (78, 30),
           },
          ),
          KeyValue(
           AttributePath {
            attributes: [
             Raw {
              content: "services",
              position: (80, 5),
             },
             Raw {
              content: "udev",
              position: (80, 14),
             },
             Raw {
              content: "packages",
              position: (80, 19),
             },
            ],
           },
           List {
            elements: [
             PropertyAccess {
              expression: Variable {
               identifier: "pkgs",
               position: (80, 32),
              },
              attribute_path: AttributePath {
               attributes: [
                Raw {
                 content: "udisks2",
                 position: (80, 37),
                },
               ],
              },
              default: None,
             },
            ],
            position: (80, 30),
           },
          ),
          KeyValue(
           AttributePath {
            attributes: [
             Raw {
              content: "systemd",
              position: (82, 5),
             },
             Raw {
              content: "packages",
              position: (82, 13),
             },
            ],
           },
           List {
            elements: [
             PropertyAccess {
              expression: Variable {
               identifier: "pkgs",
               position: (82, 26),
              },
              attribute_path: AttributePath {
               attributes: [
                Raw {
                 content: "udisks2",
                 position: (82, 31),
                },
               ],
              },
              default: None,
             },
            ],
            position: (82, 24),
           },
          ),
         ],
         recursive: false,
         position: (68, 48),
        },
       ],
      },
     ),
    ],
    recursive: false,
    position: (14, 1),
   },
   position: (7, 1),
  },
  position: (5, 1),
 },
 position: (3, 1),
}