From 1b5c5a72b5658013111977c2e208dc6828392137 Mon Sep 17 00:00:00 2001 From: osbm Date: Fri, 8 Nov 2024 15:23:26 +0300 Subject: [PATCH] add arduino udev rules --- hosts/tartarus/configuration.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hosts/tartarus/configuration.nix b/hosts/tartarus/configuration.nix index e8fd51d..f92d891 100644 --- a/hosts/tartarus/configuration.nix +++ b/hosts/tartarus/configuration.nix @@ -151,6 +151,10 @@ # Enable the OpenSSH daemon. services.openssh.enable = true; + services.udev.extraRules = '' + KERNEL=="ttyACM0", MODE="0666" + ''; + # Open ports in the firewall. # networking.firewall.allowedTCPPorts = [ ... ]; # networking.firewall.allowedUDPPorts = [ ... ];