---
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: "hardware",
         position: (5, 16),
        },
        Raw {
         content: "acpilight",
         position: (5, 25),
        },
       ],
      },
      default: None,
     },
    },
   ],
   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: "acpilight",
            position: (9, 14),
           },
          ],
         },
         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: "default",
                    position: (11, 9),
                   },
                  ],
                 },
                 to: Variable {
                  identifier: "false",
                  position: (11, 19),
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "type",
                    position: (12, 9),
                   },
                  ],
                 },
                 to: PropertyAccess {
                  expression: Variable {
                   identifier: "types",
                   position: (12, 16),
                  },
                  attribute_path: AttributePath {
                   parts: [
                    Raw {
                     content: "bool",
                     position: (12, 22),
                    },
                   ],
                  },
                  default: None,
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "description",
                    position: (13, 9),
                   },
                  ],
                 },
                 to: String {
                  parts: [
                   Raw {
                    content: "Enable acpilight.\nThis will allow brightness control via xbacklight from users in the video group\n",
                    position: (14, 1),
                   },
                  ],
                  position: (13, 23),
                 },
                },
               ],
               recursive: false,
               position: (10, 25),
              },
             ],
            },
           },
          ],
          recursive: false,
          position: (9, 26),
         },
        },
       ],
       recursive: false,
       position: (8, 13),
      },
     },
     Binding {
      from: AttributePath {
       parts: [
        Raw {
         content: "config",
         position: (21, 3),
        },
       ],
      },
      to: FunctionApplication {
       function: Variable {
        identifier: "mkIf",
        position: (21, 12),
       },
       arguments: [
        PropertyAccess {
         expression: Variable {
          identifier: "cfg",
          position: (21, 17),
         },
         attribute_path: AttributePath {
          parts: [
           Raw {
            content: "enable",
            position: (21, 21),
           },
          ],
         },
         default: None,
        },
        Map {
         bindings: [
          Binding {
           from: AttributePath {
            parts: [
             Raw {
              content: "environment",
              position: (22, 5),
             },
             Raw {
              content: "systemPackages",
              position: (22, 17),
             },
            ],
           },
           to: With {
            expression: Variable {
             identifier: "pkgs",
             position: (22, 39),
            },
            target: List {
             elements: [
              Variable {
               identifier: "acpilight",
               position: (22, 47),
              },
             ],
             position: (22, 45),
            },
            position: (22, 34),
           },
          },
          Binding {
           from: AttributePath {
            parts: [
             Raw {
              content: "services",
              position: (23, 5),
             },
             Raw {
              content: "udev",
              position: (23, 14),
             },
             Raw {
              content: "packages",
              position: (23, 19),
             },
            ],
           },
           to: With {
            expression: Variable {
             identifier: "pkgs",
             position: (23, 35),
            },
            target: List {
             elements: [
              Variable {
               identifier: "acpilight",
               position: (23, 43),
              },
             ],
             position: (23, 41),
            },
            position: (23, 30),
           },
          },
         ],
         recursive: false,
         position: (21, 28),
        },
       ],
      },
     },
    ],
    recursive: false,
    position: (7, 1),
   },
   position: (4, 1),
  },
  position: (3, 1),
 },
 position: (1, 1),
}