gnu: light: Install udev rules to allow sudo-less invocations.
authorAmin Bandali <mab@gnu.org>
Mon, 27 Jan 2020 14:33:37 +0000 (09:33 -0500)
committerEfraim Flashner <efraim@flashner.co.il>
Mon, 27 Jan 2020 17:58:21 +0000 (19:58 +0200)
commitfcb510c541e83291ea6682cba87020a913c64914
treed7c21b4301bcd79af75fede129177111c4f2ebb7
parent61b95c15cfb2c9b0d02cf09f93c0df76be0972b5
gnu: light: Install udev rules to allow sudo-less invocations.

* gnu/packages/linux.scm (light)[arguments]: Substitute the absolute paths
of chgrp and chmod in 90-backlight.rules and install the rules file to the
special lib/udev/rules.d/ directory of the out output.  This allows for
any member of the video group to set brightness using light without sudo.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
gnu/packages/linux.scm