summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWael Nasreddine <wael.nasreddine@gmail.com>2022-01-05 15:05:37 -0800
committerGitHub <noreply@github.com>2022-01-05 15:05:37 -0800
commite67c94a1adbb5cf8a0448bc9c434589b2dd293c2 (patch)
treec8e00ed7369838aaf3b966192e849084010101a0
parentMerge pull request #153635 from NixOS/backport-153523-to-release-21.11 (diff)
parentonlykey: set the group correctly in the udev rule (diff)
downloadnixpkgs-e67c94a1adbb5cf8a0448bc9c434589b2dd293c2.tar.gz
[Backport release-21.11] onlykey: set the group correctly in the udev rule (#153626)
Co-authored-by: Wael M. Nasreddine <wael.nasreddine@gmail.com>
-rw-r--r--nixos/modules/hardware/onlykey/onlykey.udev4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/hardware/onlykey/onlykey.udev b/nixos/modules/hardware/onlykey/onlykey.udev
index 61e3ee4e8828..9c8873aafc9e 100644
--- a/nixos/modules/hardware/onlykey/onlykey.udev
+++ b/nixos/modules/hardware/onlykey/onlykey.udev
@@ -14,5 +14,5 @@ KERNEL=="ttyACM*", ATTRS{idVendor}=="1d50", ATTRS{idProduct}=="60fc", MODE:="066
#
ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="04[789B]?", ENV{ID_MM_DEVICE_IGNORE}="1"
ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="04[789A]?", ENV{MTP_NO_PROBE}="1"
-SUBSYSTEMS=="usb", ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="04[789ABCD]?", GROUP+="plugdev"
-KERNEL=="ttyACM*", ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="04[789B]?", GROUP+="plugdev"
+SUBSYSTEMS=="usb", ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="04[789ABCD]?", GROUP="plugdev"
+KERNEL=="ttyACM*", ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="04[789B]?", GROUP="plugdev"