---
Function {
 argument: None,
 arguments: FunctionArguments {
  arguments: [
   FunctionArgument {
    identifier: "config",
    default: None,
   },
   FunctionArgument {
    identifier: "pkgs",
    default: None,
   },
   FunctionArgument {
    identifier: "lib",
    default: None,
   },
  ],
  ellipsis: true,
 },
 definition: With {
  expression: Variable {
   identifier: "lib",
   position: (3, 6),
  },
  target: Map {
   bindings: [
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "options",
        position: (6, 3),
       },
       Raw {
        content: "programs",
        position: (6, 11),
       },
       Raw {
        content: "droidcam",
        position: (6, 20),
       },
      ],
     },
     Map {
      bindings: [
       KeyValue(
        AttributePath {
         attributes: [
          Raw {
           content: "enable",
           position: (7, 5),
          },
         ],
        },
        FunctionApplication {
         function: Variable {
          identifier: "mkEnableOption",
          position: (7, 14),
         },
         arguments: [
          String {
           parts: [
            Raw {
             content: "DroidCam client",
             position: (7, 30),
            },
           ],
          },
         ],
        },
       ),
      ],
      recursive: false,
      position: (6, 31),
     },
    ),
    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: "config",
         position: (10, 21),
        },
        attribute_path: AttributePath {
         attributes: [
          Raw {
           content: "programs",
           position: (10, 28),
          },
          Raw {
           content: "droidcam",
           position: (10, 37),
          },
          Raw {
           content: "enable",
           position: (10, 46),
          },
         ],
        },
        default: None,
       },
       Map {
        bindings: [
         KeyValue(
          AttributePath {
           attributes: [
            Raw {
             content: "environment",
             position: (11, 5),
            },
            Raw {
             content: "systemPackages",
             position: (11, 17),
            },
           ],
          },
          List {
           elements: [
            PropertyAccess {
             expression: Variable {
              identifier: "pkgs",
              position: (11, 36),
             },
             attribute_path: AttributePath {
              attributes: [
               Raw {
                content: "droidcam",
                position: (11, 41),
               },
              ],
             },
             default: None,
            },
           ],
           position: (11, 34),
          },
         ),
         KeyValue(
          AttributePath {
           attributes: [
            Raw {
             content: "boot",
             position: (13, 5),
            },
            Raw {
             content: "extraModulePackages",
             position: (13, 10),
            },
           ],
          },
          List {
           elements: [
            PropertyAccess {
             expression: Variable {
              identifier: "config",
              position: (13, 34),
             },
             attribute_path: AttributePath {
              attributes: [
               Raw {
                content: "boot",
                position: (13, 41),
               },
               Raw {
                content: "kernelPackages",
                position: (13, 46),
               },
               Raw {
                content: "v4l2loopback",
                position: (13, 61),
               },
              ],
             },
             default: None,
            },
           ],
           position: (13, 32),
          },
         ),
         KeyValue(
          AttributePath {
           attributes: [
            Raw {
             content: "boot",
             position: (14, 5),
            },
            Raw {
             content: "kernelModules",
             position: (14, 10),
            },
           ],
          },
          List {
           elements: [
            String {
             parts: [
              Raw {
               content: "v4l2loopback",
               position: (14, 29),
              },
             ],
            },
            String {
             parts: [
              Raw {
               content: "snd-aloop",
               position: (14, 44),
              },
             ],
            },
           ],
           position: (14, 26),
          },
         ),
        ],
        recursive: false,
        position: (10, 53),
       },
      ],
     },
    ),
   ],
   recursive: false,
   position: (5, 1),
  },
  position: (3, 1),
 },
 position: (1, 1),
}