79657188

Date: 2025-06-07 17:16:24
Score: 1
Natty:
Report link

I was just trying to do the same thing! NixOS wiki has a solution here, it seems like you just need to substitute the package path for chmod. Here's the rule that ended up working for me:

services.udev.extraRules = ''
  ACTION=="add", SUBSYSTEM=="backlight", RUN+="${pkgs.coreutils}/bin/chmod g+w \$sys\$devpath/brightness"
  '';
Reasons:
  • Blacklisted phrase (1): trying to do the same
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Morgan H