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