about summary refs log tree commit diff
path: root/etc/doas.conf
diff options
context:
space:
mode:
Diffstat (limited to 'etc/doas.conf')
-rw-r--r--etc/doas.conf16
1 files changed, 16 insertions, 0 deletions
diff --git a/etc/doas.conf b/etc/doas.conf
new file mode 100644
index 0000000..717e093
--- /dev/null
+++ b/etc/doas.conf
@@ -0,0 +1,16 @@
+permit nopass keepenv root
+
+permit nopass :wheel 
+
+permit nopass :portage cmd eix-diff
+permit nopass :portage cmd eix-sync
+permit nopass :portage cmd eix-update
+permit nopass setenv { USE ACCEPT_KEYWORDS PYTHON_TARGETS PYTHON_SINGLE_TARGET FEATURES CFLAGS CXXFLAGS LDFLAGS MAKEOPTS } :portage cmd ebuild
+permit nopass setenv { USE ACCEPT_KEYWORDS PYTHON_TARGETS PYTHON_SINGLE_TARGET FEATURES CFLAGS CXXFLAGS LDFLAGS MAKEOPTS } :portage cmd emerge
+
+permit nopass :docker cmd rc-service args docker start
+permit nopass :docker cmd rc-service args docker stop
+permit nopass :fcron cmd rc-service args fcron start
+permit nopass :fcron cmd rc-service args fcron stop
+permit nopass :syncthing cmd rc-service args syncthing start
+permit nopass :syncthing cmd rc-service args syncthing stop

Consider giving Nix/NixOS a try! <3