diff options
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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; |
