README.md

lima-builder

Lima-based, Rosetta 2-enabled, Apple silicon (macOS/Darwin)-hosted Linux builder.

Usage

Build image:

nix build '.#packages.aarch64-linux.default'

Create and start VM (optionally add --video for console):

limactl start --tty=false --foreground nixos.yaml

SSH:

sshpass -p nixos ssh -p 2226 -o NoHostAuthenticationForLocalhost=yes root@localhost

Delete VM:

limactl delete -f nixos