---
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: (4, 6),
  },
  target: Map {
   bindings: [
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "options",
        position: (8, 3),
       },
      ],
     },
     Map {
      bindings: [
       KeyValue(
        AttributePath {
         attributes: [
          Raw {
           content: "services",
           position: (9, 5),
          },
          Raw {
           content: "neard",
           position: (9, 14),
          },
         ],
        },
        Map {
         bindings: [
          KeyValue(
           AttributePath {
            attributes: [
             Raw {
              content: "enable",
              position: (10, 7),
             },
            ],
           },
           FunctionApplication {
            function: Variable {
             identifier: "mkEnableOption",
             position: (10, 16),
            },
            arguments: [
             String {
              parts: [
               Raw {
                content: "neard, NFC daemon",
                position: (10, 32),
               },
              ],
             },
            ],
           },
          ),
         ],
         recursive: false,
         position: (9, 22),
        },
       ),
      ],
      recursive: false,
      position: (8, 13),
     },
    ),
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "config",
        position: (16, 3),
       },
      ],
     },
     FunctionApplication {
      function: Variable {
       identifier: "mkIf",
       position: (16, 12),
      },
      arguments: [
       PropertyAccess {
        expression: Variable {
         identifier: "config",
         position: (16, 17),
        },
        attribute_path: AttributePath {
         attributes: [
          Raw {
           content: "services",
           position: (16, 24),
          },
          Raw {
           content: "neard",
           position: (16, 33),
          },
          Raw {
           content: "enable",
           position: (16, 39),
          },
         ],
        },
        default: None,
       },
       Map {
        bindings: [
         KeyValue(
          AttributePath {
           attributes: [
            Raw {
             content: "environment",
             position: (17, 5),
            },
            Raw {
             content: "systemPackages",
             position: (17, 17),
            },
           ],
          },
          List {
           elements: [
            PropertyAccess {
             expression: Variable {
              identifier: "pkgs",
              position: (17, 36),
             },
             attribute_path: AttributePath {
              attributes: [
               Raw {
                content: "neard",
                position: (17, 41),
               },
              ],
             },
             default: None,
            },
           ],
           position: (17, 34),
          },
         ),
         KeyValue(
          AttributePath {
           attributes: [
            Raw {
             content: "services",
             position: (19, 5),
            },
            Raw {
             content: "dbus",
             position: (19, 14),
            },
            Raw {
             content: "packages",
             position: (19, 19),
            },
           ],
          },
          List {
           elements: [
            PropertyAccess {
             expression: Variable {
              identifier: "pkgs",
              position: (19, 32),
             },
             attribute_path: AttributePath {
              attributes: [
               Raw {
                content: "neard",
                position: (19, 37),
               },
              ],
             },
             default: None,
            },
           ],
           position: (19, 30),
          },
         ),
         KeyValue(
          AttributePath {
           attributes: [
            Raw {
             content: "systemd",
             position: (21, 5),
            },
            Raw {
             content: "packages",
             position: (21, 13),
            },
           ],
          },
          List {
           elements: [
            PropertyAccess {
             expression: Variable {
              identifier: "pkgs",
              position: (21, 26),
             },
             attribute_path: AttributePath {
              attributes: [
               Raw {
                content: "neard",
                position: (21, 31),
               },
              ],
             },
             default: None,
            },
           ],
           position: (21, 24),
          },
         ),
        ],
        recursive: false,
        position: (16, 46),
       },
      ],
     },
    ),
   ],
   recursive: false,
   position: (6, 1),
  },
  position: (4, 1),
 },
 position: (2, 1),
}