From 315795aa3e3fc16d32a050bc9e1297c69f419581 Mon Sep 17 00:00:00 2001 From: sommerfeld Date: Tue, 21 Apr 2026 01:23:33 +0100 Subject: 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. --- etc/doas.conf | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 etc/doas.conf (limited to 'etc/doas.conf') 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 -- cgit v1.2.3-70-g09d2