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
commit 03cf14a56f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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