As I've added software to my NixOS homelab server, I've found some things that aren't yet available in the nixpkgs repository.
A common approach seems to be to use Docker and Docker Compose to run things in containers, especially ones that need multiple services like a web server, a database and a cache or proxy.
This was created using a tool called compose2nix, but I've seen simpler examples for other services.
This made it easy to take a Docker Compose file and convert it to a Docker or Podman container.
My preference is to use NixOS services if they exist, but it's great to be able to do this as an alternative when needed.
- Oliver
Was this interesting?
About me
I'm an Acquia-certified Drupal Triple Expert with 17
years of experience, an open-source software maintainer and Drupal core contributor, public speaker, live streamer, and host of the Beyond Blocks podcast.