oscar: Add udev rule for car thing writing

I had also tried the rules terbium recommends, but was unable to get
them to work. I'm not sure all of this command is necessary/optimal, but
it works so I'm stopping tinkering here!
This commit is contained in:
Chandler Swift 2026-02-19 20:25:49 -06:00
parent 516b9dd0ac
commit 259e237ace
Signed by: chandlerswift
GPG key ID: A851D929D52FB93F

View file

@ -381,6 +381,11 @@
# Or disable the firewall altogether.
networking.firewall.enable = false;
# Car Thing
services.udev.extraRules = ''
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTR{idVendor}=="1b8e", ATTR{idProduct}=="c003", MODE="0660", GROUP="plugdev"
'';
# This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions
# on your system were taken. Its perfectly fine and recommended to leave