Merge pull request #206042 from flokli/assertion-hsphfpd-wireplumber

nixos/wireplumber: assert hsphfpd to be disabled
This commit is contained in:
Florian Klink
2022-12-14 22:02:12 +00:00
committed by GitHub
@@ -32,6 +32,10 @@ in
assertion = !config.services.pipewire.media-session.enable;
message = "WirePlumber and pipewire-media-session can't be enabled at the same time.";
}
{
assertion = !config.hardware.bluetooth.hsphfpd.enable;
message = "Using Wireplumber conflicts with hsphfpd, as it provides the same functionality. `hardware.bluetooth.hsphfpd.enable` needs be set to false";
}
];
environment.systemPackages = [ cfg.package ];