2021-02-14 02:38:20 +00:00
|
|
|
# ISO
|
|
|
|
|
2021-08-13 01:51:18 +00:00
|
|
|
Making and writing an installable iso for `hosts/bootstrap.nix` is as simple as:
|
2021-02-14 02:38:20 +00:00
|
|
|
```sh
|
2021-08-13 01:51:18 +00:00
|
|
|
bud build bootstrap bootstrapIso
|
|
|
|
sudo -E $(which bud) burn
|
2021-02-14 02:38:20 +00:00
|
|
|
```
|
|
|
|
|
2021-08-01 21:38:52 +00:00
|
|
|
This works for any host.
|
2021-03-16 19:50:38 +00:00
|
|
|
|
2021-03-16 23:01:29 +00:00
|
|
|
## ISO image nix store & cache
|
|
|
|
|
2021-05-17 08:46:02 +00:00
|
|
|
The iso image holds the store to the live environment and _also_ acts as a binary cache
|
2021-03-16 23:01:29 +00:00
|
|
|
to the installer. To considerably speed up things, the image already includes all flake
|
|
|
|
`inputs` as well as the `devshell` closures.
|
|
|
|
|
2021-05-17 08:46:02 +00:00
|
|
|
While you _could_ provision any machine with a single stick, a custom-made iso for
|
|
|
|
the host you want to install DevOS to, maximises those local cache hits.
|
2021-03-16 23:01:29 +00:00
|
|
|
|
2021-05-17 08:46:02 +00:00
|
|
|
For hosts that don't differ too much, a single usb stick might be ok, whereas when
|
|
|
|
there are bigger differences, a custom-made usb stick will be considerably faster.
|
2021-03-16 23:01:29 +00:00
|
|
|
|