aboutsummaryrefslogtreecommitdiff
path: root/extra/opendoas/files
diff options
context:
space:
mode:
Diffstat (limited to 'extra/opendoas/files')
-rw-r--r--extra/opendoas/files/doas.conf17
1 files changed, 10 insertions, 7 deletions
diff --git a/extra/opendoas/files/doas.conf b/extra/opendoas/files/doas.conf
index 674ed193..32aeff17 100644
--- a/extra/opendoas/files/doas.conf
+++ b/extra/opendoas/files/doas.conf
@@ -1,12 +1,15 @@
-# Set rules here.
-# Priority increases with linenumber.
+# /etc/doas.conf
# See doas.conf(5) for details.
+# KEEP THIS AT THE BOTTOM.
-# KEEP THIS AT THE BOTTOM
+# This is required if you want to use kiss with 'doas'
+# permit keepenv setenv { HOME } :wheel cmd kiss
+# permit :wheel cmd git args fetch
+# permit :wheel cmd git args merge
-# Select one of the following. `keepenv` does not preserve HOME, which is
-# necessary for kiss to find packages built by non-root
-permit keepenv setenv { HOME } :wheel cmd kiss
-#permit nopass keepenv setenv { HOME } :wheel cmd kiss
+# Same without asking password
+# permit nopass keepenv setenv { HOME } :wheel cmd kiss
+# permit nopass :wheel cmd git args fetch
+# permit nopass :wheel cmd git args merge