I needed to set chmod o+rw /dev/ttyACM0 everytime i make a rebuild.
I searched for file and directory permissions but didn’t get what i’m looking for.
Is there a simple nix-way’ish config to set this permission?
I needed to set chmod o+rw /dev/ttyACM0 everytime i make a rebuild.
I searched for file and directory permissions but didn’t get what i’m looking for.
Is there a simple nix-way’ish config to set this permission?
that’s handled by udev:
services.udev.extraRules = ''
KERNEL=="ttyACM0", MODE:="666"
'';
systemd.tmpfiles.rules
Thanks, i tried the udev rule - but it did not came to the wished result or does anything.
But i’m clueless why.
My actual ‘working’ solution (and i don’t like it) is :
system.activationScripts.script.text = ''chmod o+rw /dev/ttyACM0'';
The tmpfiles seems to do pretty much the same as the action script. The ACM0 is a ZWave-Stick wich seems to be changed everytime it’s pluged in.