terranix/terranix
terranix is a terraform.json generator with a nix-like feeling [maintainer=@sshine]
{ "createdAt": "2018-12-09T17:51:29Z", "defaultBranch": "main", "description": "terranix is a terraform.json generator with a nix-like feeling [maintainer=@sshine]", "fullName": "terranix/terranix", "homepage": "https://terranix.org", "language": "Nix", "name": "terranix", "pushedAt": "2026-03-16T22:40:38Z", "stargazersCount": 434, "topics": [ "nix", "opentofu", "terraform" ], "updatedAt": "2026-03-20T23:33:58Z", "url": "https://github.com/terranix/terranix"}terranix
Section titled “terranix”terranix is a [Nix][nix]-based infrastructure-as-code tool that combines the providers of [Terraform][tf] (or [OpenTofu][ot]) and the lazy, functional configuration of [NixOS][nixos]. terranix works as an alternative to HCL by generating [Terraform JSON][tf-json] that can then be applied using the same providers.
[nix] !: https://serokell.io/blog/what-is-nix [tf] !: https://developer.hashicorp.com/terraform [ot] !: https://opentofu.org/ [nixos] !: https://nixos.org/ [tf-json] !: https://www.terraform.io/docs/configuration/syntax-json.html
Documentation
Section titled “Documentation”See terranix.org for getting started.
Manpages
Section titled “Manpages”man terranixman terranix-modulesman terranix-doc-jsonman terranix-doc-man