From 259e237ace9d5a3d5ca08952d5caaa20cc0e6c45 Mon Sep 17 00:00:00 2001 From: Chandler Swift Date: Thu, 19 Feb 2026 20:25:49 -0600 Subject: [PATCH] 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! --- oscar/configuration.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/oscar/configuration.nix b/oscar/configuration.nix index 1d02fe5..b46713b 100644 --- a/oscar/configuration.nix +++ b/oscar/configuration.nix @@ -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. It‘s perfectly fine and recommended to leave