2024-10-09 03:36:08 -04:00
|
|
|
{ pkgs, ... }:
|
|
|
|
{
|
2024-10-07 11:42:34 -04:00
|
|
|
services.udev = let
|
|
|
|
oculusRules = 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";
|
|
|
|
};
|
|
|
|
in {
|
2024-11-02 17:19:40 -04:00
|
|
|
packages = [ oculusRules ];
|
2024-10-07 11:42:34 -04:00
|
|
|
};
|
|
|
|
}
|