---
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: "meta",
        position: (6, 3),
       },
       Raw {
        content: "maintainers",
        position: (6, 8),
       },
      ],
     },
     List {
      elements: [
       PropertyAccess {
        expression: Variable {
         identifier: "maintainers",
         position: (6, 24),
        },
        attribute_path: AttributePath {
         attributes: [
          Raw {
           content: "league",
           position: (6, 36),
          },
         ],
        },
        default: None,
       },
      ],
      position: (6, 22),
     },
    ),
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "options",
        position: (9, 3),
       },
      ],
     },
     Map {
      bindings: [
       KeyValue(
        AttributePath {
         attributes: [
          Raw {
           content: "programs",
           position: (10, 5),
          },
          Raw {
           content: "gphoto2",
           position: (10, 14),
          },
         ],
        },
        Map {
         bindings: [
          KeyValue(
           AttributePath {
            attributes: [
             Raw {
              content: "enable",
              position: (11, 7),
             },
            ],
           },
           FunctionApplication {
            function: Variable {
             identifier: "mkOption",
             position: (11, 16),
            },
            arguments: [
             Map {
              bindings: [
               KeyValue(
                AttributePath {
                 attributes: [
                  Raw {
                   content: "default",
                   position: (12, 9),
                  },
                 ],
                },
                Variable {
                 identifier: "false",
                 position: (12, 19),
                },
               ),
               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: "description",
                   position: (14, 9),
                  },
                 ],
                },
                String {
                 parts: [
                  Raw {
                   content: "Whether to configure system to use gphoto2.\nTo grant digital camera access to a user, the user must\nbe part of the camera group:\n<code>users.users.alice.extraGroups = [\"camera\"];</code>\n",
                   position: (15, 1),
                  },
                 ],
                },
               ),
              ],
              recursive: false,
              position: (11, 25),
             },
            ],
           },
          ),
         ],
         recursive: false,
         position: (10, 24),
        },
       ),
      ],
      recursive: false,
      position: (9, 13),
     },
    ),
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "config",
        position: (25, 3),
       },
      ],
     },
     FunctionApplication {
      function: Variable {
       identifier: "mkIf",
       position: (25, 12),
      },
      arguments: [
       PropertyAccess {
        expression: Variable {
         identifier: "config",
         position: (25, 17),
        },
        attribute_path: AttributePath {
         attributes: [
          Raw {
           content: "programs",
           position: (25, 24),
          },
          Raw {
           content: "gphoto2",
           position: (25, 33),
          },
          Raw {
           content: "enable",
           position: (25, 41),
          },
         ],
        },
        default: None,
       },
       Map {
        bindings: [
         KeyValue(
          AttributePath {
           attributes: [
            Raw {
             content: "services",
             position: (26, 5),
            },
            Raw {
             content: "udev",
             position: (26, 14),
            },
            Raw {
             content: "packages",
             position: (26, 19),
            },
           ],
          },
          List {
           elements: [
            PropertyAccess {
             expression: Variable {
              identifier: "pkgs",
              position: (26, 32),
             },
             attribute_path: AttributePath {
              attributes: [
               Raw {
                content: "libgphoto2",
                position: (26, 37),
               },
              ],
             },
             default: None,
            },
           ],
           position: (26, 30),
          },
         ),
         KeyValue(
          AttributePath {
           attributes: [
            Raw {
             content: "environment",
             position: (27, 5),
            },
            Raw {
             content: "systemPackages",
             position: (27, 17),
            },
           ],
          },
          List {
           elements: [
            PropertyAccess {
             expression: Variable {
              identifier: "pkgs",
              position: (27, 36),
             },
             attribute_path: AttributePath {
              attributes: [
               Raw {
                content: "gphoto2",
                position: (27, 41),
               },
              ],
             },
             default: None,
            },
           ],
           position: (27, 34),
          },
         ),
         KeyValue(
          AttributePath {
           attributes: [
            Raw {
             content: "users",
             position: (28, 5),
            },
            Raw {
             content: "groups",
             position: (28, 11),
            },
            Raw {
             content: "camera",
             position: (28, 18),
            },
           ],
          },
          Map {
           bindings: [],
           recursive: false,
           position: (28, 27),
          },
         ),
        ],
        recursive: false,
        position: (25, 48),
       },
      ],
     },
    ),
   ],
   recursive: false,
   position: (5, 1),
  },
  position: (3, 1),
 },
 position: (1, 1),
}