nixos/pipewire: use absolute path for jack libs

(cherry picked from commit 756e60344fd83427148d8acf416c63573404a2e9)
This commit is contained in:
Artturin
2021-09-03 13:40:40 +00:00
committed by github-actions[bot]
parent b5d1601f7a
commit 3adca1abf6
@@ -194,7 +194,7 @@ in {
};
environment.sessionVariables.LD_LIBRARY_PATH =
lib.optional cfg.jack.enable "/run/current-system/sw/lib/pipewire";
lib.optional cfg.jack.enable "${cfg.package.jack}/lib";
# https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/464#note_723554
systemd.user.services.pipewire.environment."PIPEWIRE_LINK_PASSIVE" = "1";