This is a minimal NixOS image builder for DigitalOcean.
You need nix-shell
available with a $NIX_PATH
set, this project uses pure nix-shell
shebangs and it won't touch anything else.
If you want to upload, s3cmd
must be configured and using ~/.s3cfg
.
TODO: Support AWS
s3cmd
env vars.
To build:
./build.sh
Find the result in result/nixos.qcow2.gz
.
To upload via s3cmd
:
./upload.sh "s3://hoverbear/nixos-dev.qcow2.gz"
@hoverbear tends to host a live copy on https://www.hoverbear.consulting/nixos-dev.qcow2.gz.