Build packages and configure 9front systems with Nix. nix9 supports native builds on amd64 and cross-compilation on Linux. The VM and guest tests use the image recipe from 9front-in-a-box.
The port is experimental. Native builds lack a full sandbox. See status and limitations.
On x86_64 Linux with KVM and Nix flakes enabled, run from the checkout:
nix run .#native-vmPress Enter at the boot arguments and user prompts. At term%, build a package:
. /usr/local/pkg/nix9/activate
nix-build '<nix9>' -A fortuneThe VM discards changes on exit. See Getting started for shutdown, persistent disks and installation on an existing 9front system.
The flake includes nix9.cachix.org as an optional binary cache to save build
time. A trusted cache can supply modified outputs, so only use it if you trust me.
| Guide | Contents |
|---|---|
| Native Nix | Packages, environments and store maintenance. |
| Configuration | Machine settings, generations and rollback. |
| Services | 4F4DNetworking, authentication and file sharing. |
| Installation | CPU, authentication and file servers in one inventory. |
| Deployment | Update machines and inspect their running systems. |
See package development for toolchains, recipes and development shells.