diff --git a/launch/.auto.tfvars.json b/launch/.auto.tfvars.json deleted file mode 100644 index 2c0a34cb..00000000 --- a/launch/.auto.tfvars.json +++ /dev/null @@ -1 +0,0 @@ -{"nixos-anywhere": "/nix/store/ca7wwzypz3lhvmrb2a1i72pf7d2vh6mw-source"} diff --git a/launch/.gitignore b/launch/.gitignore index c0b634d3..0f8ba9b3 100644 --- a/launch/.gitignore +++ b/launch/.gitignore @@ -1,3 +1,3 @@ -# .terraform/ +.terraform/ .terraform.tfstate.lock.info terraform.tfstate* diff --git a/launch/.terraform/modules/modules.json b/launch/.terraform/modules/modules.json deleted file mode 100644 index 4bb34087..00000000 --- a/launch/.terraform/modules/modules.json +++ /dev/null @@ -1 +0,0 @@ -{"Modules":[{"Key":"","Source":"","Dir":"."},{"Key":"peertube","Source":"./vm","Dir":"vm"},{"Key":"peertube.deploy","Source":"file:///nix/store/ca7wwzypz3lhvmrb2a1i72pf7d2vh6mw-source//terraform/all-in-one","Dir":".terraform/modules/peertube.deploy/terraform/all-in-one"},{"Key":"peertube.deploy.install","Source":"../install","Dir":"/nix/store/ca7wwzypz3lhvmrb2a1i72pf7d2vh6mw-source/terraform/install"},{"Key":"peertube.deploy.nixos-rebuild","Source":"../nixos-rebuild","Dir":"/nix/store/ca7wwzypz3lhvmrb2a1i72pf7d2vh6mw-source/terraform/nixos-rebuild"},{"Key":"peertube.deploy.partitioner-build","Source":"../nix-build","Dir":"/nix/store/ca7wwzypz3lhvmrb2a1i72pf7d2vh6mw-source/terraform/nix-build"},{"Key":"peertube.deploy.system-build","Source":"../nix-build","Dir":"/nix/store/ca7wwzypz3lhvmrb2a1i72pf7d2vh6mw-source/terraform/nix-build"}]} \ No newline at end of file diff --git a/launch/.terraform/modules/peertube.deploy b/launch/.terraform/modules/peertube.deploy deleted file mode 120000 index 17167407..00000000 --- a/launch/.terraform/modules/peertube.deploy +++ /dev/null @@ -1 +0,0 @@ -/nix/store/ca7wwzypz3lhvmrb2a1i72pf7d2vh6mw-source \ No newline at end of file diff --git a/launch/.terraform/plugin_path b/launch/.terraform/plugin_path deleted file mode 100644 index 0a21d939..00000000 --- a/launch/.terraform/plugin_path +++ /dev/null @@ -1,3 +0,0 @@ -[ - "/nix/store/mnqkwjg5v6sx86an34b4cn075h0lapz3-opentofu-1.8.7/libexec/terraform-providers" -] \ No newline at end of file diff --git a/launch/.terraform/providers/registry.opentofu.org/hashicorp/external/2.3.4/linux_amd64 b/launch/.terraform/providers/registry.opentofu.org/hashicorp/external/2.3.4/linux_amd64 deleted file mode 120000 index e74641a1..00000000 --- a/launch/.terraform/providers/registry.opentofu.org/hashicorp/external/2.3.4/linux_amd64 +++ /dev/null @@ -1 +0,0 @@ -/nix/store/mnqkwjg5v6sx86an34b4cn075h0lapz3-opentofu-1.8.7/libexec/terraform-providers/registry.opentofu.org/hashicorp/external/2.3.4/linux_amd64 \ No newline at end of file diff --git a/launch/.terraform/providers/registry.opentofu.org/hashicorp/null/3.2.3/linux_amd64 b/launch/.terraform/providers/registry.opentofu.org/hashicorp/null/3.2.3/linux_amd64 deleted file mode 120000 index 18952a18..00000000 --- a/launch/.terraform/providers/registry.opentofu.org/hashicorp/null/3.2.3/linux_amd64 +++ /dev/null @@ -1 +0,0 @@ -/nix/store/mnqkwjg5v6sx86an34b4cn075h0lapz3-opentofu-1.8.7/libexec/terraform-providers/registry.opentofu.org/hashicorp/null/3.2.3/linux_amd64 \ No newline at end of file diff --git a/launch/tf-env.nix b/launch/tf-env.nix index eb1e3161..817c6e23 100644 --- a/launch/tf-env.nix +++ b/launch/tf-env.nix @@ -17,10 +17,10 @@ pkgs.stdenv.mkDerivation { # pass nixos-anywhere path to TF through variable # when switching TF to nix take this directly from `inputs` # https://codeberg.org/kiara/e2ed-hetzner/commit/84b2a349d3e48ea2a17340bceff762d834fd4046 - # echo "{\"nixos-anywhere\": \"${sources.nixos-anywhere}\"}" > .auto.tfvars.json + echo "{\"nixos-anywhere\": \"${sources.nixos-anywhere}\"}" > .auto.tfvars.json # point to the relevant providers - # tofu init -input=false + tofu init -input=false popd runHook postBuild