---
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: (5, 6),
  },
  target: Map {
   bindings: [
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "options",
        position: (11, 3),
       },
      ],
     },
     Map {
      bindings: [
       KeyValue(
        AttributePath {
         attributes: [
          Raw {
           content: "services",
           position: (13, 5),
          },
          Raw {
           content: "malcontent",
           position: (13, 14),
          },
         ],
        },
        Map {
         bindings: [
          KeyValue(
           AttributePath {
            attributes: [
             Raw {
              content: "enable",
              position: (15, 7),
             },
            ],
           },
           FunctionApplication {
            function: Variable {
             identifier: "mkEnableOption",
             position: (15, 16),
            },
            arguments: [
             String {
              parts: [
               Raw {
                content: "Malcontent, parental control support for applications",
                position: (15, 32),
               },
              ],
             },
            ],
           },
          ),
         ],
         recursive: false,
         position: (13, 27),
        },
       ),
      ],
      recursive: false,
      position: (11, 13),
     },
    ),
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "config",
        position: (24, 3),
       },
      ],
     },
     FunctionApplication {
      function: Variable {
       identifier: "mkIf",
       position: (24, 12),
      },
      arguments: [
       PropertyAccess {
        expression: Variable {
         identifier: "config",
         position: (24, 17),
        },
        attribute_path: AttributePath {
         attributes: [
          Raw {
           content: "services",
           position: (24, 24),
          },
          Raw {
           content: "malcontent",
           position: (24, 33),
          },
          Raw {
           content: "enable",
           position: (24, 44),
          },
         ],
        },
        default: None,
       },
       Map {
        bindings: [
         KeyValue(
          AttributePath {
           attributes: [
            Raw {
             content: "environment",
             position: (26, 5),
            },
            Raw {
             content: "systemPackages",
             position: (26, 17),
            },
           ],
          },
          With {
           expression: Variable {
            identifier: "pkgs",
            position: (26, 39),
           },
           target: List {
            elements: [
             Variable {
              identifier: "malcontent",
              position: (27, 7),
             },
             Variable {
              identifier: "malcontent-ui",
              position: (28, 7),
             },
            ],
            position: (26, 45),
           },
           position: (26, 34),
          },
         ),
         KeyValue(
          AttributePath {
           attributes: [
            Raw {
             content: "services",
             position: (31, 5),
            },
            Raw {
             content: "dbus",
             position: (31, 14),
            },
            Raw {
             content: "packages",
             position: (31, 19),
            },
           ],
          },
          List {
           elements: [
            PropertyAccess {
             expression: Variable {
              identifier: "pkgs",
              position: (33, 7),
             },
             attribute_path: AttributePath {
              attributes: [
               Raw {
                content: "malcontent",
                position: (33, 12),
               },
               Raw {
                content: "out",
                position: (33, 23),
               },
              ],
             },
             default: None,
            },
           ],
           position: (31, 30),
          },
         ),
         KeyValue(
          AttributePath {
           attributes: [
            Raw {
             content: "services",
             position: (36, 5),
            },
            Raw {
             content: "accounts-daemon",
             position: (36, 14),
            },
            Raw {
             content: "enable",
             position: (36, 30),
            },
           ],
          },
          Variable {
           identifier: "true",
           position: (36, 39),
          },
         ),
        ],
        recursive: false,
        position: (24, 51),
       },
      ],
     },
    ),
   ],
   recursive: false,
   position: (7, 1),
  },
  position: (5, 1),
 },
 position: (3, 1),
}