config/modules/xr/default.nix

13 lines
226 B
Nix
Raw Permalink Normal View History

2023-12-07 21:26:12 +02:00
{ 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 ];
}