aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/README.md b/README.md
index b00e196..cfa364e 100644
--- a/README.md
+++ b/README.md
@@ -77,6 +77,15 @@ from the store, so either can be kept or thrown away):
./result/bin/run-firecracker-vm --home ~/fc-home.img [--home-size 50G]
```
+A layer that keeps its state in `/home` can make that disk mandatory,
+so the state doesn't silently end up on the tmpfs:
+
+```nix
+{ fc.home.required = true; }
+```
+
+The run script then refuses to start the guest without `--home`.
+
`/nixpkgs` is the nixpkgs the guest was built from (`<nixpkgs>`, checkout
or not); `--nixpkgs DIR` serves another one. It's not cached in the
guest, so changes to it show up right away, but evaluating is slow;