Permission for NVML (or nvidia-settings) on Wayland without root?

Since x11 commonly run as root, you can run things like

nvidia-settings -a GPUFanControlState=1 -a GPUTargetFanSpeed=50

and it will work. But on wayland, you will get

ERROR: The current user does not have permission for operation

unless called with sudo. What exactly is the permission model about calling nvidia-settings/NVML? Is it possible to add user to some specific group to allow access, or any other way than sudo, so I can use it in scripts etc.?

I am on Arch, using nvidia-open 570.86.16-2, if that makes any difference. Thank you!

The only NV specific group I see is nvidia-persistenced which isn’t going to help you. You could create a sudoers setup to not require a password for it though, either specifically for your user or for a group you’re a member of.