diff options
| author | 2026-04-21 01:23:33 +0100 | |
|---|---|---|
| committer | 2026-04-21 01:23:33 +0100 | |
| commit | 315795aa3e3fc16d32a050bc9e1297c69f419581 (patch) | |
| tree | 162246e57eaa52e49b02e68d1e648a50587ebeaa /etc/doas.conf | |
| parent | f5155f2137368405d6994a32ada6173b223bbb96 (diff) | |
| download | dotfiles-315795aa3e3fc16d32a050bc9e1297c69f419581.tar.gz dotfiles-315795aa3e3fc16d32a050bc9e1297c69f419581.tar.bz2 dotfiles-315795aa3e3fc16d32a050bc9e1297c69f419581.zip | |
feat: deploy /etc/doas.conf via chezmoi
Added to the etc/ deploy loop plus a post-copy chown/chmod to 0400
root:root since doas refuses to parse otherwise.
Diffstat (limited to 'etc/doas.conf')
| -rw-r--r-- | etc/doas.conf | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/doas.conf b/etc/doas.conf new file mode 100644 index 0000000..748a016 --- /dev/null +++ b/etc/doas.conf @@ -0,0 +1,3 @@ +permit persist setenv { LANG LC_ALL EDITOR DIFFPROG } :wheel +permit nopass :wheel as root cmd /usr/bin/poweroff +permit nopass :wheel as root cmd /usr/bin/reboot |
