From 3f86bd950c39cbbe02c0b8b2d67c5a8026bba445 Mon Sep 17 00:00:00 2001 From: Hans Christian Schmitz Date: Thu, 29 Feb 2024 10:15:06 +0100 Subject: [PATCH] nixos/pipewire: add docs for `passthru.requiredLv2Packages` --- nixos/modules/services/desktops/pipewire/pipewire.nix | 6 +++++- nixos/modules/services/desktops/pipewire/wireplumber.nix | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/nixos/modules/services/desktops/pipewire/pipewire.nix b/nixos/modules/services/desktops/pipewire/pipewire.nix index 8f3ad78d50ce..09448833620c 100644 --- a/nixos/modules/services/desktops/pipewire/pipewire.nix +++ b/nixos/modules/services/desktops/pipewire/pipewire.nix @@ -246,6 +246,9 @@ in { description = lib.mdDoc '' List of packages that provide PipeWire configuration, in the form of `share/pipewire/*/*.conf` files. + + LV2 dependencies will be picked up from config packages automatically + via `passthru.requiredLv2Packages`. ''; }; @@ -258,7 +261,8 @@ in { be made available to PipeWire for [filter chains][wiki-filter-chain]. Config packages have their required LV2 plugins added automatically, - so they don't need to be specified here. + so they don't need to be specified here. Config packages need to set + `passthru.requiredLv2Packages` for this to work. [wiki-filter-chain]: https://docs.pipewire.org/page_module_filter_chain.html ''; diff --git a/nixos/modules/services/desktops/pipewire/wireplumber.nix b/nixos/modules/services/desktops/pipewire/wireplumber.nix index 27861858f619..009d68bd4f28 100644 --- a/nixos/modules/services/desktops/pipewire/wireplumber.nix +++ b/nixos/modules/services/desktops/pipewire/wireplumber.nix @@ -30,6 +30,9 @@ in description = lib.mdDoc '' List of packages that provide WirePlumber configuration, in the form of `share/wireplumber/*/*.lua` files. + + LV2 dependencies will be picked up from config packages automatically + via `passthru.requiredLv2Packages`. ''; }; @@ -42,7 +45,8 @@ in be made available to WirePlumber for [filter chains][wiki-filter-chain]. Config packages have their required LV2 plugins added automatically, - so they don't need to be specified here. + so they don't need to be specified here. Config packages need to set + `passthru.requiredLv2Packages` for this to work. [wiki-filter-chain]: https://docs.pipewire.org/page_module_filter_chain.html '';