fix: add missing command entry for power-management permission configuration in doas-service

pull/1/head
anemofilia 2023-09-23 21:23:11 -03:00
parent 7654ce25ed
commit 6996aa68d0
No known key found for this signature in database
GPG Key ID: 5A8F3D62C87A2B33
1 changed files with 4 additions and 3 deletions

View File

@ -265,6 +265,7 @@
(map (lambda (cmd)
(permit (identity ":wheel")
(nopass? #t)
(command cmd)
(args '())))
`("zzz" "halt" "reboot"))
@ -275,9 +276,9 @@
(command "herd")
(args (cons action service))))
`(("tlp") ("tor") ("thermald")
("thinkfan") ("wpa-supplicant")))
`("doc" "stop" "start" "status"
"restart" "enable" "disable"))))
("thinkfan") ("wpa-supplicant"))
`("doc" "stop" "start" "enable"
"status" "restart" "disable"))))
#|Special file services|#
(service special-files-service-type