anchor.diff:            "usb"
             "velbus"
             "w800rf32"
  -          "xbee"
             "zha"
             "zwave"
             "zwave_js"
  
positive.code:           # Empty string first, so we will never accidentally have an empty capability bounding set
            # https://github.com/NixOS/nixpkgs/issues/120617#issuecomment-830685115
            ""
          ] ++ lib.optionals (builtins.any useComponent [ "bluetooth" "bluetooth_le_tracker" "bluetooth_tracker" "eq3btsmart" "fjaraskupan" "govee_ble" "homekit_controller" "inkbird" "moat" "sensorpush" "switchbot" "xiaomi_ble" ]) [
            # Required for interaction with hci devices and bluetooth sockets, identified by bluetooth-adapters dependency
            # https://www.home-assistant.io/integrations/bluetooth_le_tracker/#rootless-setup-on-core-installs
            "CAP_NET_ADMIN"
  
negative.code:         ]);
          componentsUsingBluetooth = [
            # Components that require the AF_BLUETOOTH address family
            "august"
            "bluemaestro"
            "bluetooth"
            "bluetooth_le_tracker"
            "bluetooth_tracker"
            "bthome"
            "default_config"
            "eq3btsmart"
            "esphome"
            "fjaraskupan"
            "govee_ble"
            "homekit_controller"
            "inkbird"
            "led_ble"
            "melnor"
            "moat"
            "qingping"
            "sensorpro"
            "sensorpush"
            "switchbot"
            "thermobeacon"
            "thermopro"
            "xiaomi_ble"
            "yalexs_ble"
          ];
          componentsUsingPing = [
            # Components that require the capset syscall for the ping wrapper
  