openrgb: add udev rules

The udev rules give user access to supported devices.
This commit is contained in:
Aamaruvi Yogamani 2020-12-07 12:13:42 -05:00 committed by Jonathan Ringer
parent 07aee7512c
commit 6ba3e0eae2

View File

@ -17,6 +17,9 @@ mkDerivation rec {
installPhase = ''
mkdir -p $out/bin
cp openrgb $out/bin
mkdir -p $out/etc/udev/rules.d
cp 60-openrgb.rules $out/etc/udev/rules.d
'';
doInstallCheck = true;