diff --git a/terraform/cloud-config.yaml b/terraform/cloud-config.yaml deleted file mode 100644 index a0f312b..0000000 --- a/terraform/cloud-config.yaml +++ /dev/null @@ -1,4 +0,0 @@ -#cloud-config - -runcmd: - - curl https://raw.githubusercontent.com/elitak/nixos-infect/master/nixos-infect | PROVIDER=hetznercloud NIX_CHANNEL=nixos-24.11 bash 2>&1 | tee /tmp/infect.log \ No newline at end of file diff --git a/terraform/main.tf b/terraform/main.tf deleted file mode 100644 index 2b4ca6a..0000000 --- a/terraform/main.tf +++ /dev/null @@ -1,24 +0,0 @@ -variable "hcloud_token" { - sensitive = true -} - -provider "hcloud" { - token = var.hcloud_token - project = "homelab" -} - -resource "hcloud_server" { - name = "athena" - type = "cx32" - image = "debian-12" - datacenter = "nbg1-dc3" -} - -data "cloudinit_config" "athena" { - part { - filename = "cloud-config.yaml" - content_type = "text/cloud-config" - - content = file("${path.module}/cloud-config.yaml") - } -} \ No newline at end of file