What is terranix?

terranix is a Nix-based infrastructure-as-code tool that combines the providers of Terraform and the lazy, functional configuration of NixOS. terranix works as an alternative to HCL by generating Terraform JSON that can then be applied using the same providers.

Features

  • terranix is similar to Terraform: you can use the Terraform reference material
  • The full power of the Nix language
  • The full power of the NixOS module system
  • The full power of all the nixpkgs tooling (fetchgit,fetchurl,writers, ...)
  • Documentation generation from config.nix as json or man page.

Community