Add udev rules for ST-Link
This commit is contained in:
parent
a6466b279a
commit
5368f3d28c
7
modules/udev.nix
Normal file
7
modules/udev.nix
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
{
|
||||||
|
services.udev.extraRules = ''
|
||||||
|
# ST-Link
|
||||||
|
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="3748", \
|
||||||
|
MODE:="0666"
|
||||||
|
'';
|
||||||
|
}
|
|
@ -10,5 +10,6 @@
|
||||||
../modules/locales.nix
|
../modules/locales.nix
|
||||||
../modules/prometheus/node_exporter.nix
|
../modules/prometheus/node_exporter.nix
|
||||||
../modules/ssh.nix
|
../modules/ssh.nix
|
||||||
|
../modules/udev.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue