{ pkgs, ... }: let rules = pkgs.writeTextDir "etc/udev/rules.d/70-xr.rules" '' # Xreal Air 2 Pro ATTRS{idVendor}=="3318", ATTRS{idProduct}=="0432", TAG+="uaccess" ''; in { services.udev.packages = [ rules ]; }