From 73790367ff2b73d4535dfd11aa73e5774c9390b8 Mon Sep 17 00:00:00 2001 From: Alejandro Soto Date: Wed, 13 Sep 2023 00:52:06 -0600 Subject: [PATCH] trivios: add udev rules for /dev/gpiochip* --- triviOS/web.nix | 4 ++++ 1 file changed, 4 insertions(+) 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" + ''; }; }