Open blaggacao opened 3 years ago
yeah, that's rather unfortunate. I think this fits into "we need a system configuration change tool" category, which is a separate but complementary project.
Do you want me to close? Or may I suggest a delegate-to-complementary-tooling
github tag for this and similar reports?
what would delegate-to-complementary-tooling
flag achieve that a script in shellHook
(not sure what the equivalent is in devshell
) or setting up a script in commands
can't do?
My bad. Wording has been deficient. Updated my previous post. Thanks for making me realize.
Let's keep those around, it doesn't hurt to have the periphery of the project also be documented through issues like that.
For some dev envronments, there is a use case to install udev rules for non-root device access (
MODE="0666"
) to specific devices such as a particular arduino board.The current nixos-specific workarround is to use
services.udev.package = [ pkgs.platformio ];
.However, this does not properly encapsulate the desired state of the development shell. Maybe this ultimately falls into the same problem category as managing PKI or DNS for development environments on the host system.
Further links:
To manipulate potential candidate destination at
/run/udev/rules.d
, root access seems required (who would have thought :wink:):/cc @CarlosLuqueC