{ pkgs, ... }: { services.udev = { packages = [ (pkgs.writeTextFile { name = "10-pdp.rules"; text = ''SUBSYSTEM=="usb", ATTR{idVendor}=="2833", MODE="0666"''; destination = "/etc/udev/rules.d/10-pdp.rules"; }) ]; }; }