# TODO: generate nix module from `variables.tf` # - TF -> JSON schema: https://melvinkoh.me/parsing-terraform-for-forms-clr4zq4tu000309juab3r1lf7 # - python313Packages.python-hcl2: hcl2tojson variables.tf # - JSON schema -> nix { lib, ... }: let inherit (lib) mkOption types; inherit (types) string attrsOf any; in { options = { vm_domain = mkOption { type = string; }; hostname = mkOption { type = string; }; config_nix = mkOption { type = string; default = { }; }; config_tf = mkOption { type = attrsOf any; default = { }; }; }; }