Document how to use
This commit is contained in:
parent
344485d836
commit
eece64679c
11
README.md
11
README.md
@ -18,6 +18,17 @@ Also, the future should include tests in this repo.
|
||||
netboot image in just 12 seconds, and the initrd is not rebuilt.
|
||||
|
||||
|
||||
## How to Use
|
||||
|
||||
First set up recursive nix on your builder. Then:
|
||||
|
||||
```
|
||||
$ nix-build '<nixpkgs/nixos>' -I nixos-config=./size-test/base.nix -A config.system.build.ipxeBootDir
|
||||
```
|
||||
|
||||
and boot off of `./result/netboot.ipxe`. The initial build may take
|
||||
a few minutes, but subsequent builds will only take a few seconds.
|
||||
|
||||
## Setting up recursive nix
|
||||
|
||||
Setting up recursive Nix requires support on the build machine:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user