summaryrefslogtreecommitdiff
path: root/Omni/Os/Boot.nix
blob: 58c7f709129389852bb5cbb0728586640f96789c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/env run.sh
{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];}