NixOS-Config/modules/system/devices/udev/oculus/default.nix

13 lines
317 B
Nix
Raw Permalink Normal View History

2024-10-09 03:36:08 -04:00
{ pkgs, ... }:
{
services.udev = {
packages = [
(pkgs.writeTextFile {
name = "10-oculus.rules";
text = ''KERNEL=="hidraw*", ATTRS{idVendor}=="0e6f", ATTRS{idProduct}=="0184", MODE="0660", TAG+="uaccess"'';
destination = "/etc/udev/rules.d/10-oculus.rules";
})
];
};
}