nixos/wireplumber: fix systemwide bluetooth integration

From https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/3828#note_2270701
Broken/removed in #278760
This commit is contained in:
André Vitor de Lima Matos 2024-03-21 16:20:36 -03:00
parent 9b1635f1e7
commit bdc6b3abe0
No known key found for this signature in database
GPG Key ID: A48A6B2DBAC1EC29

View File

@ -67,10 +67,12 @@ in
'';
systemwideConfigPkg = pkgs.writeTextDir "share/wireplumber/wireplumber.conf.d/90-nixos-systemwide.conf" ''
# When running system-wide, we don't have logind to call ReserveDevice
# When running system-wide, we don't have logind to call ReserveDevice,
# And bluetooth logind integration needs to be disabled
wireplumber.profiles = {
main = {
support.reserve-device = disabled
monitor.bluez.seat-monitoring = disabled
}
}
'';