docs(ops/terraform/deploy-nixos): document inputs and outputs

This documents the input and output format, and also removes some
references to Terraform and evaluating NixOS system configurations.

It can be used to evaluate anything.

Change-Id: I8492cc3e386f89b299469c78e586644ee82a708f
Reviewed-on: https://cl.tvl.fyi/c/depot/+/11213
Reviewed-by: tazjin <tazjin@tvl.su>
Autosubmit: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
This commit is contained in:
Florian Klink 2024-03-20 15:19:37 +02:00 committed by clbot
parent 798f8b9d43
commit 3281fb9132
3 changed files with 35 additions and 22 deletions

View file

@ -53,7 +53,7 @@ variable "triggers" {
# Fetch the derivation hash for the NixOS system.
data "external" "nixos_system" {
program = ["${path.module}/nixos-eval.sh"]
program = ["${path.module}/nix-eval.sh"]
query = {
attrpath = var.attrpath