From b97450b007413d76e4a30186679d3f5113e13ffb Mon Sep 17 00:00:00 2001 From: Hans Christian Schmitz Date: Wed, 28 Feb 2024 17:37:41 +0100 Subject: [PATCH 1/2] nixos/wireplumber: fix incorrect option name in docs --- nixos/modules/services/desktops/pipewire/wireplumber.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/desktops/pipewire/wireplumber.nix b/nixos/modules/services/desktops/pipewire/wireplumber.nix index 99aea8facb16..27861858f619 100644 --- a/nixos/modules/services/desktops/pipewire/wireplumber.nix +++ b/nixos/modules/services/desktops/pipewire/wireplumber.nix @@ -108,7 +108,7 @@ in ) config.environment.etc )) == 1; - message = "Using `environment.etc.\"wireplumber<...>\"` directly is no longer supported in 24.05. Use `services.wireplumber.configPackages` instead."; + message = "Using `environment.etc.\"wireplumber<...>\"` directly is no longer supported in 24.05. Use `services.pipewire.wireplumber.configPackages` instead."; } ]; From 3f86bd950c39cbbe02c0b8b2d67c5a8026bba445 Mon Sep 17 00:00:00 2001 From: Hans Christian Schmitz Date: Thu, 29 Feb 2024 10:15:06 +0100 Subject: [PATCH 2/2] 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 '';