---
Function {
 argument: None,
 arguments: FunctionArguments {
  arguments: [
   FunctionArgument {
    identifier: "pkgs",
    default: None,
   },
   FunctionArgument {
    identifier: "lib",
    default: None,
   },
   FunctionArgument {
    identifier: "config",
    default: None,
   },
  ],
  ellipsis: true,
 },
 definition: LetIn {
  bindings: [
   KeyValue(
    AttributePath {
     attributes: [
      Raw {
       content: "cfg",
       position: (4, 3),
      },
     ],
    },
    PropertyAccess {
     expression: Variable {
      identifier: "config",
      position: (4, 9),
     },
     attribute_path: AttributePath {
      attributes: [
       Raw {
        content: "services",
        position: (4, 16),
       },
       Raw {
        content: "pipewire",
        position: (4, 25),
       },
       Raw {
        content: "wireplumber",
        position: (4, 34),
       },
      ],
     },
     default: None,
    },
   ),
  ],
  target: Map {
   bindings: [
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "meta",
        position: (7, 3),
       },
       Raw {
        content: "maintainers",
        position: (7, 8),
       },
      ],
     },
     List {
      elements: [
       PropertyAccess {
        expression: Variable {
         identifier: "lib",
         position: (7, 24),
        },
        attribute_path: AttributePath {
         attributes: [
          Raw {
           content: "maintainers",
           position: (7, 28),
          },
          Raw {
           content: "k900",
           position: (7, 40),
          },
         ],
        },
        default: None,
       },
      ],
      position: (7, 22),
     },
    ),
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "options",
        position: (9, 3),
       },
      ],
     },
     Map {
      bindings: [
       KeyValue(
        AttributePath {
         attributes: [
          Raw {
           content: "services",
           position: (10, 5),
          },
          Raw {
           content: "pipewire",
           position: (10, 14),
          },
          Raw {
           content: "wireplumber",
           position: (10, 23),
          },
         ],
        },
        Map {
         bindings: [
          KeyValue(
           AttributePath {
            attributes: [
             Raw {
              content: "enable",
              position: (11, 7),
             },
            ],
           },
           FunctionApplication {
            function: PropertyAccess {
             expression: Variable {
              identifier: "lib",
              position: (11, 16),
             },
             attribute_path: AttributePath {
              attributes: [
               Raw {
                content: "mkOption",
                position: (11, 20),
               },
              ],
             },
             default: None,
            },
            arguments: [
             Map {
              bindings: [
               KeyValue(
                AttributePath {
                 attributes: [
                  Raw {
                   content: "type",
                   position: (12, 9),
                  },
                 ],
                },
                PropertyAccess {
                 expression: Variable {
                  identifier: "lib",
                  position: (12, 16),
                 },
                 attribute_path: AttributePath {
                  attributes: [
                   Raw {
                    content: "types",
                    position: (12, 20),
                   },
                   Raw {
                    content: "bool",
                    position: (12, 26),
                   },
                  ],
                 },
                 default: None,
                },
               ),
               KeyValue(
                AttributePath {
                 attributes: [
                  Raw {
                   content: "default",
                   position: (13, 9),
                  },
                 ],
                },
                PropertyAccess {
                 expression: Variable {
                  identifier: "config",
                  position: (13, 19),
                 },
                 attribute_path: AttributePath {
                  attributes: [
                   Raw {
                    content: "services",
                    position: (13, 26),
                   },
                   Raw {
                    content: "pipewire",
                    position: (13, 35),
                   },
                   Raw {
                    content: "enable",
                    position: (13, 44),
                   },
                  ],
                 },
                 default: None,
                },
               ),
               KeyValue(
                AttributePath {
                 attributes: [
                  Raw {
                   content: "defaultText",
                   position: (14, 9),
                  },
                 ],
                },
                FunctionApplication {
                 function: PropertyAccess {
                  expression: Variable {
                   identifier: "lib",
                   position: (14, 23),
                  },
                  attribute_path: AttributePath {
                   attributes: [
                    Raw {
                     content: "literalExpression",
                     position: (14, 27),
                    },
                   ],
                  },
                  default: None,
                 },
                 arguments: [
                  String {
                   parts: [
                    Raw {
                     content: "config.services.pipewire.enable",
                     position: (14, 46),
                    },
                   ],
                  },
                 ],
                },
               ),
               KeyValue(
                AttributePath {
                 attributes: [
                  Raw {
                   content: "description",
                   position: (15, 9),
                  },
                 ],
                },
                String {
                 parts: [
                  Raw {
                   content: "Whether to enable Wireplumber, a modular session / policy manager for PipeWire",
                   position: (15, 24),
                  },
                 ],
                },
               ),
              ],
              recursive: false,
              position: (11, 29),
             },
            ],
           },
          ),
          KeyValue(
           AttributePath {
            attributes: [
             Raw {
              content: "package",
              position: (18, 7),
             },
            ],
           },
           FunctionApplication {
            function: PropertyAccess {
             expression: Variable {
              identifier: "lib",
              position: (18, 17),
             },
             attribute_path: AttributePath {
              attributes: [
               Raw {
                content: "mkOption",
                position: (18, 21),
               },
              ],
             },
             default: None,
            },
            arguments: [
             Map {
              bindings: [
               KeyValue(
                AttributePath {
                 attributes: [
                  Raw {
                   content: "type",
                   position: (19, 9),
                  },
                 ],
                },
                PropertyAccess {
                 expression: Variable {
                  identifier: "lib",
                  position: (19, 16),
                 },
                 attribute_path: AttributePath {
                  attributes: [
                   Raw {
                    content: "types",
                    position: (19, 20),
                   },
                   Raw {
                    content: "package",
                    position: (19, 26),
                   },
                  ],
                 },
                 default: None,
                },
               ),
               KeyValue(
                AttributePath {
                 attributes: [
                  Raw {
                   content: "default",
                   position: (20, 9),
                  },
                 ],
                },
                PropertyAccess {
                 expression: Variable {
                  identifier: "pkgs",
                  position: (20, 19),
                 },
                 attribute_path: AttributePath {
                  attributes: [
                   Raw {
                    content: "wireplumber",
                    position: (20, 24),
                   },
                  ],
                 },
                 default: None,
                },
               ),
               KeyValue(
                AttributePath {
                 attributes: [
                  Raw {
                   content: "defaultText",
                   position: (21, 9),
                  },
                 ],
                },
                FunctionApplication {
                 function: PropertyAccess {
                  expression: Variable {
                   identifier: "lib",
                   position: (21, 23),
                  },
                  attribute_path: AttributePath {
                   attributes: [
                    Raw {
                     content: "literalExpression",
                     position: (21, 27),
                    },
                   ],
                  },
                  default: None,
                 },
                 arguments: [
                  String {
                   parts: [
                    Raw {
                     content: "pkgs.wireplumber",
                     position: (21, 46),
                    },
                   ],
                  },
                 ],
                },
               ),
               KeyValue(
                AttributePath {
                 attributes: [
                  Raw {
                   content: "description",
                   position: (22, 9),
                  },
                 ],
                },
                String {
                 parts: [
                  Raw {
                   content: "The wireplumber derivation to use.",
                   position: (22, 24),
                  },
                 ],
                },
               ),
              ],
              recursive: false,
              position: (18, 30),
             },
            ],
           },
          ),
         ],
         recursive: false,
         position: (10, 37),
        },
       ),
      ],
      recursive: false,
      position: (9, 13),
     },
    ),
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "config",
        position: (27, 3),
       },
      ],
     },
     FunctionApplication {
      function: PropertyAccess {
       expression: Variable {
        identifier: "lib",
        position: (27, 12),
       },
       attribute_path: AttributePath {
        attributes: [
         Raw {
          content: "mkIf",
          position: (27, 16),
         },
        ],
       },
       default: None,
      },
      arguments: [
       PropertyAccess {
        expression: Variable {
         identifier: "cfg",
         position: (27, 21),
        },
        attribute_path: AttributePath {
         attributes: [
          Raw {
           content: "enable",
           position: (27, 25),
          },
         ],
        },
        default: None,
       },
       Map {
        bindings: [
         KeyValue(
          AttributePath {
           attributes: [
            Raw {
             content: "assertions",
             position: (28, 5),
            },
           ],
          },
          List {
           elements: [
            Map {
             bindings: [
              KeyValue(
               AttributePath {
                attributes: [
                 Raw {
                  content: "assertion",
                  position: (30, 9),
                 },
                ],
               },
               UnaryOperation {
                operator: Not,
                operand: PropertyAccess {
                 expression: Variable {
                  identifier: "config",
                  position: (30, 22),
                 },
                 attribute_path: AttributePath {
                  attributes: [
                   Raw {
                    content: "services",
                    position: (30, 29),
                   },
                   Raw {
                    content: "pipewire",
                    position: (30, 38),
                   },
                   Raw {
                    content: "media-session",
                    position: (30, 47),
                   },
                   Raw {
                    content: "enable",
                    position: (30, 61),
                   },
                  ],
                 },
                 default: None,
                },
                position: (30, 21),
               },
              ),
              KeyValue(
               AttributePath {
                attributes: [
                 Raw {
                  content: "message",
                  position: (31, 9),
                 },
                ],
               },
               String {
                parts: [
                 Raw {
                  content: "WirePlumber and pipewire-media-session can't be enabled at the same time.",
                  position: (31, 20),
                 },
                ],
               },
              ),
             ],
             recursive: false,
             position: (29, 7),
            },
           ],
           position: (28, 18),
          },
         ),
         KeyValue(
          AttributePath {
           attributes: [
            Raw {
             content: "environment",
             position: (35, 5),
            },
            Raw {
             content: "systemPackages",
             position: (35, 17),
            },
           ],
          },
          List {
           elements: [
            PropertyAccess {
             expression: Variable {
              identifier: "cfg",
              position: (35, 36),
             },
             attribute_path: AttributePath {
              attributes: [
               Raw {
                content: "package",
                position: (35, 40),
               },
              ],
             },
             default: None,
            },
           ],
           position: (35, 34),
          },
         ),
         KeyValue(
          AttributePath {
           attributes: [
            Raw {
             content: "systemd",
             position: (36, 5),
            },
            Raw {
             content: "packages",
             position: (36, 13),
            },
           ],
          },
          List {
           elements: [
            PropertyAccess {
             expression: Variable {
              identifier: "cfg",
              position: (36, 26),
             },
             attribute_path: AttributePath {
              attributes: [
               Raw {
                content: "package",
                position: (36, 30),
               },
              ],
             },
             default: None,
            },
           ],
           position: (36, 24),
          },
         ),
         KeyValue(
          AttributePath {
           attributes: [
            Raw {
             content: "systemd",
             position: (38, 5),
            },
            Raw {
             content: "services",
             position: (38, 13),
            },
            Raw {
             content: "wireplumber",
             position: (38, 22),
            },
            Raw {
             content: "enable",
             position: (38, 34),
            },
           ],
          },
          PropertyAccess {
           expression: Variable {
            identifier: "config",
            position: (38, 43),
           },
           attribute_path: AttributePath {
            attributes: [
             Raw {
              content: "services",
              position: (38, 50),
             },
             Raw {
              content: "pipewire",
              position: (38, 59),
             },
             Raw {
              content: "systemWide",
              position: (38, 68),
             },
            ],
           },
           default: None,
          },
         ),
         KeyValue(
          AttributePath {
           attributes: [
            Raw {
             content: "systemd",
             position: (39, 5),
            },
            Raw {
             content: "user",
             position: (39, 13),
            },
            Raw {
             content: "services",
             position: (39, 18),
            },
            Raw {
             content: "wireplumber",
             position: (39, 27),
            },
            Raw {
             content: "enable",
             position: (39, 39),
            },
           ],
          },
          UnaryOperation {
           operator: Not,
           operand: PropertyAccess {
            expression: Variable {
             identifier: "config",
             position: (39, 49),
            },
            attribute_path: AttributePath {
             attributes: [
              Raw {
               content: "services",
               position: (39, 56),
              },
              Raw {
               content: "pipewire",
               position: (39, 65),
              },
              Raw {
               content: "systemWide",
               position: (39, 74),
              },
             ],
            },
            default: None,
           },
           position: (39, 48),
          },
         ),
         KeyValue(
          AttributePath {
           attributes: [
            Raw {
             content: "systemd",
             position: (41, 5),
            },
            Raw {
             content: "services",
             position: (41, 13),
            },
            Raw {
             content: "wireplumber",
             position: (41, 22),
            },
            Raw {
             content: "wantedBy",
             position: (41, 34),
            },
           ],
          },
          List {
           elements: [
            String {
             parts: [
              Raw {
               content: "pipewire.service",
               position: (41, 48),
              },
             ],
            },
           ],
           position: (41, 45),
          },
         ),
         KeyValue(
          AttributePath {
           attributes: [
            Raw {
             content: "systemd",
             position: (42, 5),
            },
            Raw {
             content: "user",
             position: (42, 13),
            },
            Raw {
             content: "services",
             position: (42, 18),
            },
            Raw {
             content: "wireplumber",
             position: (42, 27),
            },
            Raw {
             content: "wantedBy",
             position: (42, 39),
            },
           ],
          },
          List {
           elements: [
            String {
             parts: [
              Raw {
               content: "pipewire.service",
               position: (42, 53),
              },
             ],
            },
           ],
           position: (42, 50),
          },
         ),
        ],
        recursive: false,
        position: (27, 32),
       },
      ],
     },
    ),
   ],
   recursive: false,
   position: (6, 1),
  },
  position: (3, 1),
 },
 position: (1, 1),
}