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

13 lines
266 B
Nix
Raw Permalink Normal View History

2024-10-09 03:36:08 -04:00
{ 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";
})
];
2024-10-09 03:36:08 -04:00
};
}