forked from Fediversity/Fediversity
temp settle on hard-coded host
This commit is contained in:
parent
c0ea144712
commit
1cb5296ecb
1 changed files with 5 additions and 1 deletions
|
@ -17,6 +17,10 @@ locals {
|
|||
nix_path = "${join(":", [for name, dir in local.pins : "${name}=${dir}"])}:flake=${local.pins["nixpkgs"]}:flake"
|
||||
config_tf = merge(var.config_tf, {
|
||||
})
|
||||
# FIXME pass IP from generated VM
|
||||
# vm_host = "${var.hostname}.${var.vm_domain}"
|
||||
# vm_host = "${proxmox_virtual_environment_vm.nix_vm.ipv4_addresses[0]}"
|
||||
vm_host = "fedi202.abundos.eu"
|
||||
}
|
||||
|
||||
data "external" "base-hash" {
|
||||
|
@ -203,7 +207,7 @@ resource "terraform_data" "nixos" {
|
|||
declare substituters trusted_public_keys drv_path
|
||||
# set our variables using the json object
|
||||
eval "export $(echo $json | jaq -r 'to_entries | map("\(.key)=\(.value)") | @sh')"
|
||||
host="root@${var.hostname}.${var.vm_domain}" # FIXME: #24
|
||||
host="root@${local.vm_host}" # FIXME: #24
|
||||
buildArgs=(
|
||||
--option extra-binary-caches https://cache.nixos.org/
|
||||
--option substituters $substituters
|
||||
|
|
Loading…
Add table
Reference in a new issue