nixy: append openocd udev rules

This commit is contained in:
Asmir A 2023-11-16 19:44:37 +01:00
parent 781ba05fb6
commit 9e04dca9ce
Signed by: asmir
GPG Key ID: 020C42B7A9ABA3E2

View File

@ -186,7 +186,7 @@
}; };
udev = { udev = {
packages = [pkgs.rtl-sdr pkgs.openhantek6022]; packages = [pkgs.rtl-sdr pkgs.openhantek6022 pkgs.openocd];
extraRules = '' extraRules = ''
#Xilinx FTDI #Xilinx FTDI
ACTION=="add", ATTR{idVendor}=="0403", ATTR{manufacturer}=="Xilinx", MODE:="666" ACTION=="add", ATTR{idVendor}=="0403", ATTR{manufacturer}=="Xilinx", MODE:="666"
@ -194,6 +194,9 @@
#Xilinx Digilent #Xilinx Digilent
ATTR{idVendor}=="1443", MODE:="666" ATTR{idVendor}=="1443", MODE:="666"
ACTION=="add", ATTR{idVendor}=="0403", ATTR{manufacturer}=="Digilent", MODE:="666" ACTION=="add", ATTR{idVendor}=="0403", ATTR{manufacturer}=="Digilent", MODE:="666"
#ST-Link
''; '';
}; };