about summary refs log tree commit diff
path: root/etc/doas.conf
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>1970-01-01 03:00:00 +0300
committerAzat Bahawi <azat@bahawi.net>2022-09-20 11:52:07 +0300
commit962c35425636e3f942fd8a624369a7c53748f47e (patch)
treec69e76f6c4cdd7f9f66d02a02ee683fe4d5426e7 /etc/doas.conf
chore: init HEAD master
Diffstat (limited to '')
-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