Merge pull request #181026 from queezle42/pipewire-systemwide-bluetooth

pipewire: fix bluetooth for system-wide configuration
This commit is contained in:
Sandro 2022-07-11 15:38:55 +02:00 committed by GitHub
commit e2f14dd31a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -50,6 +50,12 @@ in
default_access.properties["enable-flatpak-portal"] = false default_access.properties["enable-flatpak-portal"] = false
''; '';
}; };
environment.etc."wireplumber/bluetooth.lua.d/80-systemwide.lua" = lib.mkIf config.services.pipewire.systemWide {
text = ''
-- When running system-wide, logind-integration needs to be disabled.
bluez_monitor.properties["with-logind"] = false
'';
};
systemd.packages = [ cfg.package ]; systemd.packages = [ cfg.package ];