nixos/pipewire: use absolute path for jack libs

This commit is contained in:
Artturin 2021-09-02 17:02:16 +03:00
parent f2b50ffadb
commit 756e60344f

View File

@ -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";