summary refs log tree commit diff
path: root/nixos/modules/services/desktops/pipewire/media-session/bluez-monitor.conf.json
blob: 6d1c23e8256998eabc7859c1f4d185d20f8635bc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{
  "properties": {},
  "rules": [
    {
      "matches": [
        {
          "device.name": "~bluez_card.*"
        }
      ],
      "actions": {
        "update-props": {
          "bluez5.auto-connect": [
            "hfp_hf",
            "hsp_hs",
            "a2dp_sink"
          ]
        }
      }
    },
    {
      "matches": [
        {
          "node.name": "~bluez_input.*"
        },
        {
          "node.name": "~bluez_output.*"
        }
      ],
      "actions": {
        "update-props": {
          "node.pause-on-idle": false
        }
      }
    }
  ]
}