nixos-config/modules/udev.nix

8 lines
169 B
Nix

{
services.udev.extraRules = /* udevrules */ ''
# ST-Link
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="3748", \
MODE:="0666"
'';
}