seperate out arduino

This commit is contained in:
Osman Faruk Bayram 2024-11-10 22:13:47 +03:00
parent 667216c835
commit 25747846df
2 changed files with 13 additions and 5 deletions

12
common/arduino.nix Normal file
View file

@ -0,0 +1,12 @@
{ pkgs, lib, config, ... }: {
environment.systemPackages = with pkgs; [
arduino-ide
adafruit-nrfutil
];
services.udev.extraRules = ''
KERNEL=="ttyACM0", MODE="0666"
'';
}