nixos/wireplumber: assert hsphfpd to be disabled
According to https://github.com/NixOS/nixpkgs/issues/205957#issuecomment-1350158554, pipewire/wireplumber already provides this functionality. Fixes #205957
This commit is contained in:
@@ -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 ];
|
||||
|
||||
Reference in New Issue
Block a user