From 9df05d43395c6f212d12667d7af14f1c9408e9ac Mon Sep 17 00:00:00 2001 From: Alex David Date: Sat, 7 Jun 2025 16:37:46 -0700 Subject: [PATCH] Update readme with link to combinator docs --- README.md | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index d6a8896..7587117 100644 --- a/README.md +++ b/README.md @@ -20,9 +20,7 @@ A helper to make it easy and ergonomic to wrap your derivations in ''; in { packages.x86_64-linux.jailed = jail "my-jail" untrusted-package (combinators: with combinators; [ - # By default, only the bare minimum permissions are exposed, in this list - # you can add additional permissions that you want the program to have. - # See ./combinators.nix for more functions that can go here + # See combinators section below for more functions that can go here # Give program access to the network network @@ -43,3 +41,11 @@ A helper to make it easy and ergonomic to wrap your derivations in }; } ``` + +## Combinators + +By default, only the bare minimum permissions are exposed. By passing +combinators into the jail you can modify the jail to expose more permissions. + +[Click here](https://alexdav.id/projects/jail-nix/combinators/) for a full list +of combinators and their documentation.