betaflight udev rules

This commit is contained in:
Nathan Anderson 2024-04-12 07:08:56 -06:00
parent 412f9100ca
commit 9ec123f0f2
2 changed files with 8 additions and 1 deletions

View File

@ -122,7 +122,12 @@
services.openssh.enable = true; services.openssh.enable = true;
services.dbus.enable = true; services.dbus.enable = true;
services.syncthing.enable = true; services.syncthing.enable = true;
# For betaflight configurator
services.udev.extraRules = ''
# DFU (Internal bootloader for STM32 and AT32 MCUs)
SUBSYSTEM=="usb", ATTRS{idVendor}=="2e3c", ATTRS{idProduct}=="df11", MODE="0664", GROUP="dialout"
SUBSYSTEM=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="df11", MODE="0664", GROUP="dialout"
'';
# Audio # Audio
security.rtkit.enable = true; security.rtkit.enable = true;
services.pipewire = { services.pipewire = {

View File

@ -46,6 +46,8 @@ in
"audio" "audio"
# For android # For android
"adbusers" "adbusers"
# For serial interfaces
"dialout"
]; ];
}) })
]; ];