How do you deploy your App with the help of Nix?


I’m currently using Nix flakes to set up automatic dev environments. I’d now like to leverage and build upon it to setup deployment scripts.

In the past, I’ve used Dokku with Docker to easily deploy an image. So I did something similar here, and set up a docker image with Nix to build the binary and then copy over and run. However, that was extremely slow, and so it got me curious how people deploy their apps, is there anything equivalent to Dokku that leverages Nix. Maybe container-less deployments?

Curious how people do it in Nix-land.

1 Like

We either use specialized nix deployment tools or use dockerTools to build containers in nix.