diff --git a/triviOS/web.nix b/triviOS/web.nix index 249e6fe..f2c3f83 100644 --- a/triviOS/web.nix +++ b/triviOS/web.nix @@ -32,5 +32,9 @@ socket = "${config.services.uwsgi.runDir}/uwsgi.sock"; }; }; + + udev.extraRules = = '' + KERNEL=="gpiochip*", GROUP="uwsgi", MODE="660" + ''; }; }