betaflight udev rules
This commit is contained in:
parent
412f9100ca
commit
9ec123f0f2
|
@ -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 = {
|
||||||
|
|
|
@ -46,6 +46,8 @@ in
|
||||||
"audio"
|
"audio"
|
||||||
# For android
|
# For android
|
||||||
"adbusers"
|
"adbusers"
|
||||||
|
# For serial interfaces
|
||||||
|
"dialout"
|
||||||
];
|
];
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in New Issue
Block a user