arch-image-builder/configs/common/wheel-nopasswd.yaml
BigfootACA e6c6ab6bf7 Initial commit
Signed-off-by: BigfootACA <bigfoot@classfun.cn>
2024-05-17 23:04:34 +08:00

17 lines
360 B
YAML

filesystem:
files:
- path: /etc/polkit-1/rules.d/99-wheel.rules
mode: 0640
content: |
polkit.addRule(function(action,subject){
if(subject.isInGroup("wheel"))
return polkit.Result.YES;
});
- path: /etc/sudoers.d/wheel
mode: 0640
content: |
%wheel ALL=(ALL:ALL) NOPASSWD: ALL
pacman:
install:
- sudo