Commit 13632ec71e35
Changed files (1)
systems
hosts
systems/hosts/naruhodo.nix
@@ -122,6 +122,18 @@ in
};
};
+ services.udev.extraRules = ''
+ # Teensy rules for the Ergodox EZ
+ 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]?", MODE:="0666"
+ KERNEL=="ttyACM*", ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="04[789B]?", MODE:="0666"
+
+ # STM32 rules for the Moonlander and Planck EZ
+ SUBSYSTEMS=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="df11", \
+ MODE:="0666", \
+ SYMLINK+="stm32_dfu"
+ '';
services.hardware.bolt.enable = true;
core.nix = {
# temporary