diff --git a/infra/sync-nix/main.tf b/infra/sync-nix/main.tf index 3c4c6692..9b39fc2c 100644 --- a/infra/sync-nix/main.tf +++ b/infra/sync-nix/main.tf @@ -23,6 +23,7 @@ locals { vm_host = "fedi202.abundos.eu" } +# FIXME move to host data "external" "base-hash" { program = ["sh", "-c", "echo \"{\\\"hash\\\":\\\"$(nix-hash ${path.module}/../common/nixos/base.nix)\\\"}\""] } @@ -33,6 +34,7 @@ data "external" "hash" { program = ["sh", "-c", "echo \"{\\\"hash\\\":\\\"$(nix-hash ..)\\\"}\""] } +# FIXME move to host resource "terraform_data" "template" { triggers_replace = [ data.external.base-hash.result, @@ -52,6 +54,7 @@ resource "terraform_data" "template" { } } +# FIXME move to host resource "proxmox_virtual_environment_file" "upload" { lifecycle { replace_triggered_by = [