nixos-cloud icon indicating copy to clipboard operation
nixos-cloud copied to clipboard

A cookbook for deploying NixOS to cloud servers

A cookbook for deploying NixOS to cloud servers

  • Part 1 provides a way to deploy NixOS to DigitalOcean by building a custom NixOS disk image. It also introduces remote management of your cloud servers using Morph and uses this to deploy an instance of nginx HTTP server. See also the accompanying article.
  • Part 2 shows how to spawn NixOS machines in bulk using Terraform, as well as how to use Terraform state in Nix expressions, in order to automatically deploy to the managed infrastructure. See also the accompanying article.