about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2022-12-14 22:02:12 +0000
committerGitHub <noreply@github.com>2022-12-14 22:02:12 +0000
commit03cf14a56ff0ac020014a4bc74bd07ee166f0bf2 (patch)
tree569adf25bd111e9c060eb8563018a64bb1a6c439 /nixos
parent3f028804b3dd899e30995b5a10e6278392a65ed8 (diff)
parentbfc60c9362e3762bba03e7a3de56ffb672d7812b (diff)
downloadnixlib-03cf14a56ff0ac020014a4bc74bd07ee166f0bf2.tar
nixlib-03cf14a56ff0ac020014a4bc74bd07ee166f0bf2.tar.gz
nixlib-03cf14a56ff0ac020014a4bc74bd07ee166f0bf2.tar.bz2
nixlib-03cf14a56ff0ac020014a4bc74bd07ee166f0bf2.tar.lz
nixlib-03cf14a56ff0ac020014a4bc74bd07ee166f0bf2.tar.xz
nixlib-03cf14a56ff0ac020014a4bc74bd07ee166f0bf2.tar.zst
nixlib-03cf14a56ff0ac020014a4bc74bd07ee166f0bf2.zip
Merge pull request #206042 from flokli/assertion-hsphfpd-wireplumber
nixos/wireplumber: assert hsphfpd to be disabled
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/services/desktops/pipewire/wireplumber.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/nixos/modules/services/desktops/pipewire/wireplumber.nix b/nixos/modules/services/desktops/pipewire/wireplumber.nix
index 32490773b5e9..4b36b99aa7c1 100644
--- a/nixos/modules/services/desktops/pipewire/wireplumber.nix
+++ b/nixos/modules/services/desktops/pipewire/wireplumber.nix
@@ -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 ];