aboutsummaryrefslogtreecommitdiffstats
path: root/host.nix
Commit message (Collapse)AuthorAgeFilesLines
* add networkingtv11 days1-0/+15
Give the guest a virtio-net interface backed by the host tap device fctap0, with a static address (172.16.0.2/24, gateway 172.16.0.1) set up by systemd-networkd, and 9.9.9.9 as nameserver. host.nix is a NixOS module for the host that creates fctap0, owned by the given user, and NATs it: imports = [ (import ./host.nix "tv") ]; Firecracker refuses to start if fctap0 doesn't exist.