---
Function {
 argument: None,
 arguments: FunctionArguments {
  arguments: [
   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: (9, 3),
       },
      ],
     },
     Map {
      bindings: [
       KeyValue(
        AttributePath {
         attributes: [
          Raw {
           content: "hardware",
           position: (11, 5),
          },
          Raw {
           content: "onlykey",
           position: (11, 14),
          },
         ],
        },
        Map {
         bindings: [
          KeyValue(
           AttributePath {
            attributes: [
             Raw {
              content: "enable",
              position: (12, 7),
             },
            ],
           },
           FunctionApplication {
            function: Variable {
             identifier: "mkOption",
             position: (12, 16),
            },
            arguments: [
             Map {
              bindings: [
               KeyValue(
                AttributePath {
                 attributes: [
                  Raw {
                   content: "type",
                   position: (13, 9),
                  },
                 ],
                },
                PropertyAccess {
                 expression: Variable {
                  identifier: "types",
                  position: (13, 16),
                 },
                 attribute_path: AttributePath {
                  attributes: [
                   Raw {
                    content: "bool",
                    position: (13, 22),
                   },
                  ],
                 },
                 default: None,
                },
               ),
               KeyValue(
                AttributePath {
                 attributes: [
                  Raw {
                   content: "default",
                   position: (14, 9),
                  },
                 ],
                },
                Variable {
                 identifier: "false",
                 position: (14, 19),
                },
               ),
               KeyValue(
                AttributePath {
                 attributes: [
                  Raw {
                   content: "description",
                   position: (15, 9),
                  },
                 ],
                },
                String {
                 parts: [
                  Raw {
                   content: "Enable OnlyKey device (https://crp.to/p/) support.\n",
                   position: (16, 1),
                  },
                 ],
                },
               ),
              ],
              recursive: false,
              position: (12, 25),
             },
            ],
           },
          ),
         ],
         recursive: false,
         position: (11, 24),
        },
       ),
      ],
      recursive: false,
      position: (9, 13),
     },
    ),
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "config",
        position: (28, 3),
       },
      ],
     },
     FunctionApplication {
      function: Variable {
       identifier: "mkIf",
       position: (28, 12),
      },
      arguments: [
       PropertyAccess {
        expression: Variable {
         identifier: "config",
         position: (28, 17),
        },
        attribute_path: AttributePath {
         attributes: [
          Raw {
           content: "hardware",
           position: (28, 24),
          },
          Raw {
           content: "onlykey",
           position: (28, 33),
          },
          Raw {
           content: "enable",
           position: (28, 41),
          },
         ],
        },
        default: None,
       },
       Map {
        bindings: [
         KeyValue(
          AttributePath {
           attributes: [
            Raw {
             content: "services",
             position: (29, 5),
            },
            Raw {
             content: "udev",
             position: (29, 14),
            },
            Raw {
             content: "extraRules",
             position: (29, 19),
            },
           ],
          },
          FunctionApplication {
           function: PropertyAccess {
            expression: Variable {
             identifier: "builtins",
             position: (29, 32),
            },
            attribute_path: AttributePath {
             attributes: [
              Raw {
               content: "readFile",
               position: (29, 41),
              },
             ],
            },
            default: None,
           },
           arguments: [
            Path {
             parts: [
              Raw {
               content: "./onlykey.udev",
               position: (29, 50),
              },
             ],
            },
           ],
          },
         ),
        ],
        recursive: false,
        position: (28, 48),
       },
      ],
     },
    ),
   ],
   recursive: false,
   position: (5, 1),
  },
  position: (3, 1),
 },
 position: (1, 1),
}