diff options
-rw-r--r-- | hosts/sif/default.nix | 30 |
1 files changed, 1 insertions, 29 deletions
diff --git a/hosts/sif/default.nix b/hosts/sif/default.nix index a74c9184..5ef6cc8e 100644 --- a/hosts/sif/default.nix +++ b/hosts/sif/default.nix | |||
@@ -332,35 +332,7 @@ in { | |||
332 | alsa.support32Bit = true; | 332 | alsa.support32Bit = true; |
333 | pulse.enable = true; | 333 | pulse.enable = true; |
334 | jack.enable = true; | 334 | jack.enable = true; |
335 | 335 | wireplumber.enable = true; | |
336 | media-session = { | ||
337 | enable = true; | ||
338 | config.bluez-monitor.rules = [ | ||
339 | { # Matches all cards | ||
340 | matches = [ { "device.name" = "~bluez_card.*"; } ]; | ||
341 | actions = { | ||
342 | "update-props" = { | ||
343 | "bluez5.reconnect-profiles" = [ "hfp_hf" "hsp_hs" "a2dp_sink" ]; | ||
344 | # mSBC is not expected to work on all headset + adapter combinations. | ||
345 | "bluez5.msbc-support" = true; | ||
346 | }; | ||
347 | }; | ||
348 | } | ||
349 | { | ||
350 | matches = [ | ||
351 | # Matches all sources | ||
352 | { "node.name" = "~bluez_input.*"; } | ||
353 | # Matches all outputs | ||
354 | { "node.name" = "~bluez_output.*"; } | ||
355 | ]; | ||
356 | actions = { | ||
357 | "update-props" = { | ||
358 | "node.pause-on-idle" = false; | ||
359 | }; | ||
360 | }; | ||
361 | } | ||
362 | ]; | ||
363 | }; | ||
364 | }; | 336 | }; |
365 | 337 | ||
366 | hardware = { | 338 | hardware = { |