---
Function {
 argument: Destructured {
  identifier: None,
  arguments: [
   DestructuredArgument {
    identifier: "config",
    default: None,
   },
   DestructuredArgument {
    identifier: "lib",
    default: None,
   },
   DestructuredArgument {
    identifier: "pkgs",
    default: None,
   },
  ],
  ellipsis: true,
 },
 definition: With {
  expression: Variable {
   identifier: "lib",
   position: (4, 6),
  },
  target: Map {
   bindings: [
    Binding {
     from: AttributePath {
      parts: [
       Raw {
        content: "options",
        position: (8, 3),
       },
      ],
     },
     to: Map {
      bindings: [
       Binding {
        from: AttributePath {
         parts: [
          Raw {
           content: "services",
           position: (9, 5),
          },
          Raw {
           content: "dleyna-server",
           position: (9, 14),
          },
         ],
        },
        to: Map {
         bindings: [
          Binding {
           from: AttributePath {
            parts: [
             Raw {
              content: "enable",
              position: (10, 7),
             },
            ],
           },
           to: FunctionApplication {
            function: Variable {
             identifier: "mkOption",
             position: (10, 16),
            },
            arguments: [
             Map {
              bindings: [
               Binding {
                from: AttributePath {
                 parts: [
                  Raw {
                   content: "type",
                   position: (11, 9),
                  },
                 ],
                },
                to: PropertyAccess {
                 expression: Variable {
                  identifier: "types",
                  position: (11, 16),
                 },
                 attribute_path: AttributePath {
                  parts: [
                   Raw {
                    content: "bool",
                    position: (11, 22),
                   },
                  ],
                 },
                 default: None,
                },
               },
               Binding {
                from: AttributePath {
                 parts: [
                  Raw {
                   content: "default",
                   position: (12, 9),
                  },
                 ],
                },
                to: Variable {
                 identifier: "false",
                 position: (12, 19),
                },
               },
               Binding {
                from: AttributePath {
                 parts: [
                  Raw {
                   content: "description",
                   position: (13, 9),
                  },
                 ],
                },
                to: String {
                 parts: [
                  Raw {
                   content: "Whether to enable dleyna-server service, a DBus service\nfor handling DLNA servers.\n",
                   position: (14, 1),
                  },
                 ],
                 position: (13, 23),
                },
               },
              ],
              recursive: false,
              position: (10, 25),
             },
            ],
           },
          },
         ],
         recursive: false,
         position: (9, 30),
        },
       },
      ],
      recursive: false,
      position: (8, 13),
     },
    },
    Binding {
     from: AttributePath {
      parts: [
       Raw {
        content: "config",
        position: (23, 3),
       },
      ],
     },
     to: FunctionApplication {
      function: Variable {
       identifier: "mkIf",
       position: (23, 12),
      },
      arguments: [
       PropertyAccess {
        expression: Variable {
         identifier: "config",
         position: (23, 17),
        },
        attribute_path: AttributePath {
         parts: [
          Raw {
           content: "services",
           position: (23, 24),
          },
          Raw {
           content: "dleyna-server",
           position: (23, 33),
          },
          Raw {
           content: "enable",
           position: (23, 47),
          },
         ],
        },
        default: None,
       },
       Map {
        bindings: [
         Binding {
          from: AttributePath {
           parts: [
            Raw {
             content: "environment",
             position: (24, 5),
            },
            Raw {
             content: "systemPackages",
             position: (24, 17),
            },
           ],
          },
          to: List {
           elements: [
            PropertyAccess {
             expression: Variable {
              identifier: "pkgs",
              position: (24, 36),
             },
             attribute_path: AttributePath {
              parts: [
               Raw {
                content: "dleyna-server",
                position: (24, 41),
               },
              ],
             },
             default: None,
            },
           ],
           position: (24, 34),
          },
         },
         Binding {
          from: AttributePath {
           parts: [
            Raw {
             content: "services",
             position: (26, 5),
            },
            Raw {
             content: "dbus",
             position: (26, 14),
            },
            Raw {
             content: "packages",
             position: (26, 19),
            },
           ],
          },
          to: List {
           elements: [
            PropertyAccess {
             expression: Variable {
              identifier: "pkgs",
              position: (26, 32),
             },
             attribute_path: AttributePath {
              parts: [
               Raw {
                content: "dleyna-server",
                position: (26, 37),
               },
              ],
             },
             default: None,
            },
           ],
           position: (26, 30),
          },
         },
        ],
        recursive: false,
        position: (23, 54),
       },
      ],
     },
    },
   ],
   recursive: false,
   position: (6, 1),
  },
  position: (4, 1),
 },
 position: (2, 1),
}