From 6ba3e0eae25fd1d7068c1c11d7bdd219ba8c17b5 Mon Sep 17 00:00:00 2001 From: Aamaruvi Yogamani <38222826+Technical27@users.noreply.github.com> Date: Mon, 7 Dec 2020 12:13:42 -0500 Subject: [PATCH] openrgb: add udev rules The udev rules give user access to supported devices. --- pkgs/applications/misc/openrgb/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/applications/misc/openrgb/default.nix b/pkgs/applications/misc/openrgb/default.nix index 0f16809d0b20..b703c4e8eab3 100644 --- a/pkgs/applications/misc/openrgb/default.nix +++ b/pkgs/applications/misc/openrgb/default.nix @@ -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;