diff --git a/doas/doas.conf b/doas/doas.conf index 2a6c3a7..1453e87 100644 --- a/doas/doas.conf +++ b/doas/doas.conf @@ -1,2 +1,7 @@ -permit persist keepenv :wheel as root +# See doas.conf(5) and doas.d(5) for configuration details. +# Uncomment to allow group "wheel" to become root. +permit persist :wheel +permit nopass :wheel cmd /usr/bin/brightnessctl +permit nopass :wheel cmd /sbin/reboot +permit nopass :wheel cmd /sbin/poweroff