summaryrefslogtreecommitdiff
path: root/Omni/Os/Boot.nix
blob: c789d892561fad27380fc8dddc4c29e663a7918a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{ bild }:
/* This target creates a qcow2 image of a barebones NixOS VM which should be used
   to bootstrap a deployment target.

   The workflow is like this:

   - bild this, you get a qcow2 image
   - go to https://cloud.digitalocean.com/images/custom_images
   - upload the image
   - start a new droplet with this image
   - once fully provisioned and accessible via ssh, the new droplet can be a deploy
     target for any other namespace
*/
bild.droplet { imports = [ ./Base.nix ../Users.nix ]; }