| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
| |
The host module takes users = { NAME = TAPS; ... } instead of a single
user: each user gets that many taps, and rules of their own, in
/var/lib/fc-egress/USER/allowed, managed with fc-egress as before.
The proxy tells whose a guest is by its address: each tap has a fixed
one, handed out by dnsmasq by MAC address (derived from the tap's number,
as the run script does), and the bridge drops anything a guest sends from
another address. The decrypting server gets a socket per user, as it
can't see the guest's address. The run script only takes the user's own
taps.
|
| |
|
|
|
|
|
|
|
|
| |
/nixpkgs isn't cached in the guest, so changes to a checkout show up
right away, but evaluating is slow. --nixpkgs-cache sets 9P's cache
mode for it, e.g. loose, which made evaluating tmux several times
faster. It gets passed on the kernel command line as fc.9p566=cache=MODE,
and mount.vsock9p appends such options for the port it mounts.
Options also take the --option=value form now.
|
| |
|
|
|
|
|
|
|
| |
A <nixpkgs> outside the store got copied (i.e. hashed) to the store on
every evaluation, for the guest's NIX_PATH, so no-op builds still took
~25s with a checkout. Now a third 9P server serves nixpkgs from wherever
it is, read-only, at /nixpkgs in the guest, which NIX_PATH points to.
It's in neither the closure nor the registration any more, and
run-firecracker-vm --nixpkgs DIR can serve another one.
|
| |
|