summary refs log tree commit diff
path: root/nixos/modules/services/desktops/pipewire/bluez-monitor.conf.json
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/modules/services/desktops/pipewire/bluez-monitor.conf.json')
-rw-r--r--nixos/modules/services/desktops/pipewire/bluez-monitor.conf.json38
1 files changed, 38 insertions, 0 deletions
diff --git a/nixos/modules/services/desktops/pipewire/bluez-monitor.conf.json b/nixos/modules/services/desktops/pipewire/bluez-monitor.conf.json
new file mode 100644
index 00000000000..d8f74f32943
--- /dev/null
+++ b/nixos/modules/services/desktops/pipewire/bluez-monitor.conf.json
@@ -0,0 +1,38 @@
+{
+  "properties": {},
+  "rules": [
+    {
+      "actions": {
+        "update-props": {}
+      },
+      "matches": [
+        {
+          "device": {
+            "name": "~bluez_card.*"
+          }
+        }
+      ]
+    },
+    {
+      "actions": {
+        "update-props": {
+          "node": {
+            "pause-on-idle": false
+          }
+        }
+      },
+      "matches": [
+        {
+          "node": {
+            "name": "~bluez_input.*"
+          }
+        },
+        {
+          "node": {
+            "name": "~bluez_output.*"
+          }
+        }
+      ]
+    }
+  ]
+}