{}: { jobspec , vars ? {} , ... }@args: { jobspec = "\${file(\"${jobspec}\")}"; hcl2 = { enabled = true; inherit vars; }; lifecycle = { ignore_changes = [ "hcl2[0].vars[\"flake_ref\"]" "hcl2[0].vars[\"flake_sha\"]" ]; create_before_destroy = true; }; } // builtins.removeAttrs args [ "jobspec" "vars" ]