+6
nixos/modules/services/hardware/sane.nix
···
···+# sane sets up udev rules that tag scanners with `uaccess`. This way, physically logged in users+# can access them without belonging to the `scanner` group. However, the `scanner` user used by saned+ENV{DEVNAME}!="", ENV{libsane_matched}=="yes", RUN+="${pkgs.acl}/bin/setfacl -m g:scanner:rw $env{DEVNAME}"