Deploying Phoenix on NixOS

Hey everyone, I realized I should post this here.

I put some cycles into achieving a really clean deployment process using NixOS modules and deploy-rs on a digitalOcean node.

The Nix code is here:

https://github.com/roriholm/phoeNIX

And a short tutorial on getting the deploy process setup.

It might not be as streamlined as Docker/Fly.io options but it’s nice, it’s cheap, and it’s Nix.

7 Likes