aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/README.md b/README.md
index 6435038..4174b03 100644
--- a/README.md
+++ b/README.md
@@ -10,6 +10,7 @@ The guest gets:
for speed, and a writable layer on top, so nix and `nix-shell` work;
- `/xchg`: the directory `xchg` in the current working directory, shared
with the host (and with other VMs started in the same directory);
+- `/nixpkgs`: the host's nixpkgs, read-only, on the guest's `NIX_PATH`;
- network access only to HTTPS, through a proxy on the host that allows
only listed domains, optionally only listed paths.
@@ -54,6 +55,9 @@ removed when the guest exits. To keep it across boots:
The file gets created (sparse, default 16G) if it doesn't exist. Only one
VM at a time can use it.
+`/nixpkgs` is the nixpkgs the guest was built from (`<nixpkgs>`, checkout
+or not); `--nixpkgs DIR` serves another one.
+
To use a cut-down kernel, based on Firecracker's recommended guest
configuration, instead of `linuxPackages_latest`: