MatrixAI / nixos-platforms

NixOS System Configuration for Platforms used by Matrix AI
MIT License
0 stars 0 forks source link

Build your own installable ISOs to avoid needing WiFi or network access #4

Open CMCDragonkai opened 6 years ago

CMCDragonkai commented 6 years ago

Have a CI system do this:

https://nixos.org/nixos/manual/index.html#sec-building-cd

CMCDragonkai commented 6 years ago

https://nixos.mayflower.consulting/blog/2018/09/11/custom-images/

CMCDragonkai commented 6 years ago

The act of building ISOs instead of doing the configuration.nix is a sort of bootstrapping problem. That is you start with an initial NixOS system (right now a ISO supplied by nixos.org). Then you build an ISO that has everything you need, so the next time you just straight forwardly use that ISO, without any further instructions. The build system you need for building ISOs is already there inside Nixpkgs, maybe a web user interface to make it easier would also work, you just a Nix system of some sort to do this. Or just run Hydra.