Update readme with link to combinator docs
This commit is contained in:
parent
a5c957f45b
commit
9df05d4339
1 changed files with 9 additions and 3 deletions
12
README.md
12
README.md
|
|
@ -20,9 +20,7 @@ A helper to make it easy and ergonomic to wrap your derivations in
|
||||||
'';
|
'';
|
||||||
in {
|
in {
|
||||||
packages.x86_64-linux.jailed = jail "my-jail" untrusted-package (combinators: with combinators; [
|
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
|
# See combinators section below for more functions that can go here
|
||||||
# you can add additional permissions that you want the program to have.
|
|
||||||
# See ./combinators.nix for more functions that can go here
|
|
||||||
|
|
||||||
# Give program access to the network
|
# Give program access to the network
|
||||||
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.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue