Skip to content
Oeiuwq Faith Blog OpenSource Porfolio

terranix/terranix

terranix is a terraform.json generator with a nix-like feeling [maintainer=@sshine]

terranix/terranix.json
{
"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 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

See terranix.org for getting started.

  • man terranix
  • man terranix-modules
  • man terranix-doc-json
  • man terranix-doc-man