---
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: Map {
   bindings: [
    Binding {
     from: AttributePath {
      parts: [
       Raw {
        content: "options",
        position: (8, 3),
       },
      ],
     },
     to: Map {
      bindings: [
       Binding {
        from: AttributePath {
         parts: [
          Raw {
           content: "hardware",
           position: (9, 5),
          },
          Raw {
           content: "sensor",
           position: (9, 14),
          },
          Raw {
           content: "iio",
           position: (9, 21),
          },
         ],
        },
        to: Map {
         bindings: [
          Binding {
           from: AttributePath {
            parts: [
             Raw {
              content: "enable",
              position: (10, 7),
             },
            ],
           },
           to: FunctionApplication {
            function: Variable {
             identifier: "mkOption",
             position: (10, 16),
            },
            arguments: [
             Map {
              bindings: [
               Binding {
                from: AttributePath {
                 parts: [
                  Raw {
                   content: "description",
                   position: (11, 9),
                  },
                 ],
                },
                to: String {
                 parts: [
                  Raw {
                   content: "Enable this option to support IIO sensors with iio-sensor-proxy.\n\nIIO sensors are used for orientation and ambient light\nsensors on some mobile devices.\n",
                   position: (12, 1),
                  },
                 ],
                 position: (11, 23),
                },
               },
               Binding {
                from: AttributePath {
                 parts: [
                  Raw {
                   content: "type",
                   position: (17, 9),
                  },
                 ],
                },
                to: PropertyAccess {
                 expression: Variable {
                  identifier: "types",
                  position: (17, 16),
                 },
                 attribute_path: AttributePath {
                  parts: [
                   Raw {
                    content: "bool",
                    position: (17, 22),
                   },
                  ],
                 },
                 default: None,
                },
               },
               Binding {
                from: AttributePath {
                 parts: [
                  Raw {
                   content: "default",
                   position: (18, 9),
                  },
                 ],
                },
                to: Variable {
                 identifier: "false",
                 position: (18, 19),
                },
               },
              ],
              recursive: false,
              position: (10, 25),
             },
            ],
           },
          },
         ],
         recursive: false,
         position: (9, 27),
        },
       },
      ],
      recursive: false,
      position: (8, 13),
     },
    },
    Binding {
     from: AttributePath {
      parts: [
       Raw {
        content: "config",
        position: (25, 3),
       },
      ],
     },
     to: FunctionApplication {
      function: Variable {
       identifier: "mkIf",
       position: (25, 12),
      },
      arguments: [
       PropertyAccess {
        expression: Variable {
         identifier: "config",
         position: (25, 17),
        },
        attribute_path: AttributePath {
         parts: [
          Raw {
           content: "hardware",
           position: (25, 24),
          },
          Raw {
           content: "sensor",
           position: (25, 33),
          },
          Raw {
           content: "iio",
           position: (25, 40),
          },
          Raw {
           content: "enable",
           position: (25, 44),
          },
         ],
        },
        default: None,
       },
       Map {
        bindings: [
         Binding {
          from: AttributePath {
           parts: [
            Raw {
             content: "boot",
             position: (27, 5),
            },
            Raw {
             content: "initrd",
             position: (27, 10),
            },
            Raw {
             content: "availableKernelModules",
             position: (27, 17),
            },
           ],
          },
          to: List {
           elements: [
            String {
             parts: [
              Raw {
               content: "hid-sensor-hub",
               position: (27, 45),
              },
             ],
             position: (27, 44),
            },
           ],
           position: (27, 42),
          },
         },
         Binding {
          from: AttributePath {
           parts: [
            Raw {
             content: "environment",
             position: (29, 5),
            },
            Raw {
             content: "systemPackages",
             position: (29, 17),
            },
           ],
          },
          to: With {
           expression: Variable {
            identifier: "pkgs",
            position: (29, 39),
           },
           target: List {
            elements: [
             Variable {
              identifier: "iio-sensor-proxy",
              position: (29, 47),
             },
            ],
            position: (29, 45),
           },
           position: (29, 34),
          },
         },
         Binding {
          from: AttributePath {
           parts: [
            Raw {
             content: "services",
             position: (31, 5),
            },
            Raw {
             content: "dbus",
             position: (31, 14),
            },
            Raw {
             content: "packages",
             position: (31, 19),
            },
           ],
          },
          to: With {
           expression: Variable {
            identifier: "pkgs",
            position: (31, 35),
           },
           target: List {
            elements: [
             Variable {
              identifier: "iio-sensor-proxy",
              position: (31, 43),
             },
            ],
            position: (31, 41),
           },
           position: (31, 30),
          },
         },
         Binding {
          from: AttributePath {
           parts: [
            Raw {
             content: "services",
             position: (32, 5),
            },
            Raw {
             content: "udev",
             position: (32, 14),
            },
            Raw {
             content: "packages",
             position: (32, 19),
            },
           ],
          },
          to: With {
           expression: Variable {
            identifier: "pkgs",
            position: (32, 35),
           },
           target: List {
            elements: [
             Variable {
              identifier: "iio-sensor-proxy",
              position: (32, 43),
             },
            ],
            position: (32, 41),
           },
           position: (32, 30),
          },
         },
         Binding {
          from: AttributePath {
           parts: [
            Raw {
             content: "systemd",
             position: (33, 5),
            },
            Raw {
             content: "packages",
             position: (33, 13),
            },
           ],
          },
          to: With {
           expression: Variable {
            identifier: "pkgs",
            position: (33, 29),
           },
           target: List {
            elements: [
             Variable {
              identifier: "iio-sensor-proxy",
              position: (33, 37),
             },
            ],
            position: (33, 35),
           },
           position: (33, 24),
          },
         },
        ],
        recursive: false,
        position: (25, 51),
       },
      ],
     },
    },
   ],
   recursive: false,
   position: (5, 1),
  },
  position: (3, 1),
 },
 position: (1, 1),
}