Function(
 Function {
  head: Destructured(
   FunctionHeadDestructured {
    ellipsis: true,
    identifier: None,
    arguments: [
     FunctionHeadDestructuredArgument {
      identifier: "config",
      default: None,
     },
     FunctionHeadDestructuredArgument {
      identifier: "lib",
      default: None,
     },
     FunctionHeadDestructuredArgument {
      identifier: "pkgs",
      default: None,
     },
    ],
   },
  ),
  body: With(
   With {
    expression: Identifier(
     Identifier {
      id: "lib",
      span: Span {
       start: Position {
        line: 3,
        column: 6,
       },
       end: Position {
        line: 3,
        column: 9,
       },
      },
     },
    ),
    target: LetIn(
     LetIn {
      bindings: [
       KeyValue(
        BindingKeyValue {
         from: [
          Raw(
           PartRaw {
            content: "cfg",
            span: Span {
             start: Position {
              line: 6,
              column: 3,
             },
             end: Position {
              line: 6,
              column: 6,
             },
            },
           },
          ),
         ],
         to: PropertyAccess(
          PropertyAccess {
           expression: Identifier(
            Identifier {
             id: "config",
             span: Span {
              start: Position {
               line: 6,
               column: 9,
              },
              end: Position {
               line: 6,
               column: 15,
              },
             },
            },
           ),
           attribute_path: [
            Raw(
             PartRaw {
              content: "hardware",
              span: Span {
               start: Position {
                line: 6,
                column: 16,
               },
               end: Position {
                line: 6,
                column: 24,
               },
              },
             },
            ),
            Raw(
             PartRaw {
              content: "tuxedo-keyboard",
              span: Span {
               start: Position {
                line: 6,
                column: 25,
               },
               end: Position {
                line: 6,
                column: 40,
               },
              },
             },
            ),
           ],
           default: None,
          },
         ),
        },
       ),
       KeyValue(
        BindingKeyValue {
         from: [
          Raw(
           PartRaw {
            content: "tuxedo-keyboard",
            span: Span {
             start: Position {
              line: 7,
              column: 3,
             },
             end: Position {
              line: 7,
              column: 18,
             },
            },
           },
          ),
         ],
         to: PropertyAccess(
          PropertyAccess {
           expression: Identifier(
            Identifier {
             id: "config",
             span: Span {
              start: Position {
               line: 7,
               column: 21,
              },
              end: Position {
               line: 7,
               column: 27,
              },
             },
            },
           ),
           attribute_path: [
            Raw(
             PartRaw {
              content: "boot",
              span: Span {
               start: Position {
                line: 7,
                column: 28,
               },
               end: Position {
                line: 7,
                column: 32,
               },
              },
             },
            ),
            Raw(
             PartRaw {
              content: "kernelPackages",
              span: Span {
               start: Position {
                line: 7,
                column: 33,
               },
               end: Position {
                line: 7,
                column: 47,
               },
              },
             },
            ),
            Raw(
             PartRaw {
              content: "tuxedo-keyboard",
              span: Span {
               start: Position {
                line: 7,
                column: 48,
               },
               end: Position {
                line: 7,
                column: 63,
               },
              },
             },
            ),
           ],
           default: None,
          },
         ),
        },
       ),
      ],
      target: Map(
       Map {
        recursive: false,
        bindings: [
         KeyValue(
          BindingKeyValue {
           from: [
            Raw(
             PartRaw {
              content: "options",
              span: Span {
               start: Position {
                line: 10,
                column: 5,
               },
               end: Position {
                line: 10,
                column: 12,
               },
              },
             },
            ),
            Raw(
             PartRaw {
              content: "hardware",
              span: Span {
               start: Position {
                line: 10,
                column: 13,
               },
               end: Position {
                line: 10,
                column: 21,
               },
              },
             },
            ),
            Raw(
             PartRaw {
              content: "tuxedo-keyboard",
              span: Span {
               start: Position {
                line: 10,
                column: 22,
               },
               end: Position {
                line: 10,
                column: 37,
               },
              },
             },
            ),
           ],
           to: Map(
            Map {
             recursive: false,
             bindings: [
              KeyValue(
               BindingKeyValue {
                from: [
                 Raw(
                  PartRaw {
                   content: "enable",
                   span: Span {
                    start: Position {
                     line: 11,
                     column: 7,
                    },
                    end: Position {
                     line: 11,
                     column: 13,
                    },
                   },
                  },
                 ),
                ],
                to: FunctionApplication(
                 FunctionApplication {
                  function: Identifier(
                   Identifier {
                    id: "mkEnableOption",
                    span: Span {
                     start: Position {
                      line: 11,
                      column: 16,
                     },
                     end: Position {
                      line: 11,
                      column: 30,
                     },
                    },
                   },
                  ),
                  arguments: [
                   FunctionApplication(
                    FunctionApplication {
                     function: PropertyAccess(
                      PropertyAccess {
                       expression: Identifier(
                        Identifier {
                         id: "lib",
                         span: Span {
                          start: Position {
                           line: 11,
                           column: 32,
                          },
                          end: Position {
                           line: 11,
                           column: 35,
                          },
                         },
                        },
                       ),
                       attribute_path: [
                        Raw(
                         PartRaw {
                          content: "mdDoc",
                          span: Span {
                           start: Position {
                            line: 11,
                            column: 36,
                           },
                           end: Position {
                            line: 11,
                            column: 41,
                           },
                          },
                         },
                        ),
                       ],
                       default: None,
                      },
                     ),
                     arguments: [
                      IndentedString(
                       IndentedString {
                        parts: [
                         Raw(
                          PartRaw {
                           content: "Enables the tuxedo-keyboard driver.\n\nTo configure the driver, pass the options to the {option}`boot.kernelParams` configuration.\nThere are several parameters you can change. It's best to check at the source code description which options are supported.\nYou can find all the supported parameters at: <https://github.com/tuxedocomputers/tuxedo-keyboard#kernelparam>\n\nIn order to use the `custom` lighting with the maximumg brightness and a color of `0xff0a0a` one would put pass {option}`boot.kernelParams` like this:\n\n```\nboot.kernelParams = [\n \"tuxedo_keyboard.mode=0\"\n \"tuxedo_keyboard.brightness=255\"\n \"tuxedo_keyboard.color_left=0xff0a0a\"\n];\n```\n",
                           span: Span {
                            start: Position {
                             line: 12,
                             column: 1,
                            },
                            end: Position {
                             line: 27,
                             column: 7,
                            },
                           },
                          },
                         ),
                        ],
                        span: Span {
                         start: Position {
                          line: 11,
                          column: 42,
                         },
                         end: Position {
                          line: 27,
                          column: 9,
                         },
                        },
                       },
                      ),
                     ],
                    },
                   ),
                  ],
                 },
                ),
               },
              ),
             ],
             span: Span {
              start: Position {
               line: 10,
               column: 40,
              },
              end: Position {
               line: 28,
               column: 6,
              },
             },
            },
           ),
          },
         ),
         KeyValue(
          BindingKeyValue {
           from: [
            Raw(
             PartRaw {
              content: "config",
              span: Span {
               start: Position {
                line: 30,
                column: 5,
               },
               end: Position {
                line: 30,
                column: 11,
               },
              },
             },
            ),
           ],
           to: FunctionApplication(
            FunctionApplication {
             function: Identifier(
              Identifier {
               id: "mkIf",
               span: Span {
                start: Position {
                 line: 30,
                 column: 14,
                },
                end: Position {
                 line: 30,
                 column: 18,
                },
               },
              },
             ),
             arguments: [
              PropertyAccess(
               PropertyAccess {
                expression: Identifier(
                 Identifier {
                  id: "cfg",
                  span: Span {
                   start: Position {
                    line: 30,
                    column: 19,
                   },
                   end: Position {
                    line: 30,
                    column: 22,
                   },
                  },
                 },
                ),
                attribute_path: [
                 Raw(
                  PartRaw {
                   content: "enable",
                   span: Span {
                    start: Position {
                     line: 30,
                     column: 23,
                    },
                    end: Position {
                     line: 30,
                     column: 29,
                    },
                   },
                  },
                 ),
                ],
                default: None,
               },
              ),
              Map(
               Map {
                recursive: false,
                bindings: [
                 KeyValue(
                  BindingKeyValue {
                   from: [
                    Raw(
                     PartRaw {
                      content: "boot",
                      span: Span {
                       start: Position {
                        line: 32,
                        column: 7,
                       },
                       end: Position {
                        line: 32,
                        column: 11,
                       },
                      },
                     },
                    ),
                    Raw(
                     PartRaw {
                      content: "kernelModules",
                      span: Span {
                       start: Position {
                        line: 32,
                        column: 12,
                       },
                       end: Position {
                        line: 32,
                        column: 25,
                       },
                      },
                     },
                    ),
                   ],
                   to: List(
                    List {
                     elements: [
                      String(
                       String_ {
                        parts: [
                         Raw(
                          PartRaw {
                           content: "tuxedo_keyboard",
                           span: Span {
                            start: Position {
                             line: 32,
                             column: 30,
                            },
                            end: Position {
                             line: 32,
                             column: 45,
                            },
                           },
                          },
                         ),
                        ],
                        span: Span {
                         start: Position {
                          line: 32,
                          column: 29,
                         },
                         end: Position {
                          line: 32,
                          column: 46,
                         },
                        },
                       },
                      ),
                     ],
                     span: Span {
                      start: Position {
                       line: 32,
                       column: 28,
                      },
                      end: Position {
                       line: 32,
                       column: 47,
                      },
                     },
                    },
                   ),
                  },
                 ),
                 KeyValue(
                  BindingKeyValue {
                   from: [
                    Raw(
                     PartRaw {
                      content: "boot",
                      span: Span {
                       start: Position {
                        line: 33,
                        column: 7,
                       },
                       end: Position {
                        line: 33,
                        column: 11,
                       },
                      },
                     },
                    ),
                    Raw(
                     PartRaw {
                      content: "extraModulePackages",
                      span: Span {
                       start: Position {
                        line: 33,
                        column: 12,
                       },
                       end: Position {
                        line: 33,
                        column: 31,
                       },
                      },
                     },
                    ),
                   ],
                   to: List(
                    List {
                     elements: [
                      Identifier(
                       Identifier {
                        id: "tuxedo-keyboard",
                        span: Span {
                         start: Position {
                          line: 33,
                          column: 36,
                         },
                         end: Position {
                          line: 33,
                          column: 51,
                         },
                        },
                       },
                      ),
                     ],
                     span: Span {
                      start: Position {
                       line: 33,
                       column: 34,
                      },
                      end: Position {
                       line: 33,
                       column: 53,
                      },
                     },
                    },
                   ),
                  },
                 ),
                ],
                span: Span {
                 start: Position {
                  line: 31,
                  column: 5,
                 },
                 end: Position {
                  line: 34,
                  column: 6,
                 },
                },
               },
              ),
             ],
            },
           ),
          },
         ),
        ],
        span: Span {
         start: Position {
          line: 9,
          column: 3,
         },
         end: Position {
          line: 35,
          column: 4,
         },
        },
       },
      ),
      span: Span {
       start: Position {
        line: 5,
        column: 1,
       },
       end: Position {
        line: 35,
        column: 4,
       },
      },
     },
    ),
    span: Span {
     start: Position {
      line: 3,
      column: 1,
     },
     end: Position {
      line: 35,
      column: 4,
     },
    },
   },
  ),
  span: Span {
   start: Position {
    line: 1,
    column: 1,
   },
   end: Position {
    line: 35,
    column: 4,
   },
  },
 },
)