---
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: (3, 6),
  },
  target: Map {
   bindings: [
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "options",
        position: (5, 3),
       },
       Raw {
        content: "hardware",
        position: (5, 11),
       },
       Raw {
        content: "wooting",
        position: (5, 20),
       },
       Raw {
        content: "enable",
        position: (5, 28),
       },
      ],
     },
     FunctionApplication {
      function: Variable {
       identifier: "mkEnableOption",
       position: (6, 5),
      },
      arguments: [
       String {
        parts: [
         Raw {
          content: "Enable support for Wooting keyboards",
          position: (6, 21),
         },
        ],
       },
      ],
     },
    ),
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "config",
        position: (8, 3),
       },
      ],
     },
     FunctionApplication {
      function: Variable {
       identifier: "mkIf",
       position: (8, 12),
      },
      arguments: [
       PropertyAccess {
        expression: Variable {
         identifier: "config",
         position: (8, 17),
        },
        attribute_path: AttributePath {
         attributes: [
          Raw {
           content: "hardware",
           position: (8, 24),
          },
          Raw {
           content: "wooting",
           position: (8, 33),
          },
          Raw {
           content: "enable",
           position: (8, 41),
          },
         ],
        },
        default: None,
       },
       Map {
        bindings: [
         KeyValue(
          AttributePath {
           attributes: [
            Raw {
             content: "environment",
             position: (9, 5),
            },
            Raw {
             content: "systemPackages",
             position: (9, 17),
            },
           ],
          },
          List {
           elements: [
            PropertyAccess {
             expression: Variable {
              identifier: "pkgs",
              position: (9, 36),
             },
             attribute_path: AttributePath {
              attributes: [
               Raw {
                content: "wootility",
                position: (9, 41),
               },
              ],
             },
             default: None,
            },
           ],
           position: (9, 34),
          },
         ),
         KeyValue(
          AttributePath {
           attributes: [
            Raw {
             content: "services",
             position: (10, 5),
            },
            Raw {
             content: "udev",
             position: (10, 14),
            },
            Raw {
             content: "packages",
             position: (10, 19),
            },
           ],
          },
          List {
           elements: [
            PropertyAccess {
             expression: Variable {
              identifier: "pkgs",
              position: (10, 32),
             },
             attribute_path: AttributePath {
              attributes: [
               Raw {
                content: "wooting-udev-rules",
                position: (10, 37),
               },
              ],
             },
             default: None,
            },
           ],
           position: (10, 30),
          },
         ),
        ],
        recursive: false,
        position: (8, 48),
       },
      ],
     },
    ),
   ],
   recursive: false,
   position: (4, 1),
  },
  position: (3, 1),
 },
 position: (1, 1),
}