---
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: LetIn {
   bindings: [
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "cfg",
        position: (6, 3),
       },
      ],
     },
     PropertyAccess {
      expression: Variable {
       identifier: "config",
       position: (6, 9),
      },
      attribute_path: AttributePath {
       attributes: [
        Raw {
         content: "programs",
         position: (6, 16),
        },
        Raw {
         content: "sysdig",
         position: (6, 25),
        },
       ],
      },
      default: None,
     },
    ),
   ],
   target: Map {
    bindings: [
     KeyValue(
      AttributePath {
       attributes: [
        Raw {
         content: "options",
         position: (8, 3),
        },
        Raw {
         content: "programs",
         position: (8, 11),
        },
        Raw {
         content: "sysdig",
         position: (8, 20),
        },
        Raw {
         content: "enable",
         position: (8, 27),
        },
       ],
      },
      FunctionApplication {
       function: Variable {
        identifier: "mkEnableOption",
        position: (8, 36),
       },
       arguments: [
        String {
         parts: [
          Raw {
           content: "sysdig",
           position: (8, 52),
          },
         ],
        },
       ],
      },
     ),
     KeyValue(
      AttributePath {
       attributes: [
        Raw {
         content: "config",
         position: (10, 3),
        },
       ],
      },
      FunctionApplication {
       function: Variable {
        identifier: "mkIf",
        position: (10, 12),
       },
       arguments: [
        PropertyAccess {
         expression: Variable {
          identifier: "cfg",
          position: (10, 17),
         },
         attribute_path: AttributePath {
          attributes: [
           Raw {
            content: "enable",
            position: (10, 21),
           },
          ],
         },
         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: "sysdig",
                 position: (11, 41),
                },
               ],
              },
              default: None,
             },
            ],
            position: (11, 34),
           },
          ),
          KeyValue(
           AttributePath {
            attributes: [
             Raw {
              content: "boot",
              position: (12, 5),
             },
             Raw {
              content: "extraModulePackages",
              position: (12, 10),
             },
            ],
           },
           List {
            elements: [
             PropertyAccess {
              expression: Variable {
               identifier: "config",
               position: (12, 34),
              },
              attribute_path: AttributePath {
               attributes: [
                Raw {
                 content: "boot",
                 position: (12, 41),
                },
                Raw {
                 content: "kernelPackages",
                 position: (12, 46),
                },
                Raw {
                 content: "sysdig",
                 position: (12, 61),
                },
               ],
              },
              default: None,
             },
            ],
            position: (12, 32),
           },
          ),
         ],
         recursive: false,
         position: (10, 28),
        },
       ],
      },
     ),
    ],
    recursive: false,
    position: (7, 4),
   },
   position: (5, 1),
  },
  position: (3, 1),
 },
 position: (1, 1),
}