diff --git a/buer.scm b/buer.scm index 17b03e3..e979b16 100644 --- a/buer.scm +++ b/buer.scm @@ -268,11 +268,11 @@ (args '()))) `("zzz" "halt" "reboot"))) (simple-service 'shepherd-status-permissions doas-service-type - (map (lambda (argument) + (map (lambda (action) (permit (identity ":wheel") (nopass? #t) (command "herd") - (args (list argument)))) + (args (list action)))) `("status" "detailed-status"))) (simple-service 'service-management-permissions doas-service-type (flatmap (lambda (service action)