Archived
1
0
Fork 0

gnu: Add qmk-udev-rules.

* gnu/packages/firmware.scm (qmk-udev-rules): New variable.
This commit is contained in:
Maxim Cournoyer 2023-09-13 13:39:33 -04:00
parent 2f0e21e9fa
commit 8dd6c2dee8
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -1447,3 +1447,21 @@ shortcuts and can be interpreted by your window managher. This layout only
makes use of the 42 keys that the Atreus also has for the main functionality. makes use of the 42 keys that the Atreus also has for the main functionality.
See the @file{keyboards/atreus/keymaps/dvorak_42_key/keymap.c} source file for See the @file{keyboards/atreus/keymaps/dvorak_42_key/keymap.c} source file for
the keymap definition.")) the keymap definition."))
(define-public qmk-udev-rules
(package
(inherit qmk-firmware-ergodox-ez-default)
(name "qmk-udev-rules")
(build-system copy-build-system)
(arguments
'(#:install-plan '(("./util/udev" "lib/udev/rules.d"
#:include-regexp ("rules$")))))
(native-inputs '())
(inputs '())
(propagated-inputs '())
(synopsis "Udev rules for QMK Firmware")
(description
"This package provides a set of udev rules to specify the proper
privileges for flashing QMK compatible devices without needing root. The
rules require the group @code{plugdev} to be added to each user that needs
this.")))