---
Function {
 argument: None,
 arguments: FunctionArguments {
  arguments: [
   FunctionArgument {
    identifier: "lib",
    default: None,
   },
   FunctionArgument {
    identifier: "pkgs",
    default: None,
   },
   FunctionArgument {
    identifier: "config",
    default: None,
   },
  ],
  ellipsis: true,
 },
 definition: LetIn {
  bindings: [
   KeyValue(
    AttributePath {
     attributes: [
      Raw {
       content: "cfg",
       position: (4, 3),
      },
     ],
    },
    PropertyAccess {
     expression: Variable {
      identifier: "config",
      position: (4, 9),
     },
     attribute_path: AttributePath {
      attributes: [
       Raw {
        content: "hardware",
        position: (4, 16),
       },
       Raw {
        content: "uinput",
        position: (4, 25),
       },
      ],
     },
     default: None,
    },
   ),
  ],
  target: Map {
   bindings: [
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "options",
        position: (6, 3),
       },
       Raw {
        content: "hardware",
        position: (6, 11),
       },
       Raw {
        content: "uinput",
        position: (6, 20),
       },
      ],
     },
     Map {
      bindings: [
       KeyValue(
        AttributePath {
         attributes: [
          Raw {
           content: "enable",
           position: (7, 5),
          },
         ],
        },
        FunctionApplication {
         function: PropertyAccess {
          expression: Variable {
           identifier: "lib",
           position: (7, 14),
          },
          attribute_path: AttributePath {
           attributes: [
            Raw {
             content: "mkEnableOption",
             position: (7, 18),
            },
           ],
          },
          default: None,
         },
         arguments: [
          String {
           parts: [
            Raw {
             content: "uinput support",
             position: (7, 34),
            },
           ],
          },
         ],
        },
       ),
      ],
      recursive: false,
      position: (6, 29),
     },
    ),
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "config",
        position: (10, 3),
       },
      ],
     },
     FunctionApplication {
      function: PropertyAccess {
       expression: Variable {
        identifier: "lib",
        position: (10, 12),
       },
       attribute_path: AttributePath {
        attributes: [
         Raw {
          content: "mkIf",
          position: (10, 16),
         },
        ],
       },
       default: None,
      },
      arguments: [
       PropertyAccess {
        expression: Variable {
         identifier: "cfg",
         position: (10, 21),
        },
        attribute_path: AttributePath {
         attributes: [
          Raw {
           content: "enable",
           position: (10, 25),
          },
         ],
        },
        default: None,
       },
       Map {
        bindings: [
         KeyValue(
          AttributePath {
           attributes: [
            Raw {
             content: "boot",
             position: (11, 5),
            },
            Raw {
             content: "kernelModules",
             position: (11, 10),
            },
           ],
          },
          List {
           elements: [
            String {
             parts: [
              Raw {
               content: "uinput",
               position: (11, 29),
              },
             ],
            },
           ],
           position: (11, 26),
          },
         ),
         KeyValue(
          AttributePath {
           attributes: [
            Raw {
             content: "users",
             position: (13, 5),
            },
            Raw {
             content: "groups",
             position: (13, 11),
            },
            Raw {
             content: "uinput",
             position: (13, 18),
            },
           ],
          },
          Map {
           bindings: [],
           recursive: false,
           position: (13, 27),
          },
         ),
         KeyValue(
          AttributePath {
           attributes: [
            Raw {
             content: "services",
             position: (15, 5),
            },
            Raw {
             content: "udev",
             position: (15, 14),
            },
            Raw {
             content: "extraRules",
             position: (15, 19),
            },
           ],
          },
          String {
           parts: [
            Raw {
             content: "SUBSYSTEM==\"misc\", KERNEL==\"uinput\", MODE=\"0660\", GROUP=\"uinput\", OPTIONS+=\"static_node=uinput\"\n",
             position: (16, 1),
            },
           ],
          },
         ),
        ],
        recursive: false,
        position: (10, 32),
       },
      ],
     },
    ),
   ],
   recursive: false,
   position: (5, 4),
  },
  position: (3, 1),
 },
 position: (1, 1),
}