terraform-nixos #1

Closed
kiara wants to merge 57 commits from terraform-nixos into tf
2 changed files with 5 additions and 0 deletions
Showing only changes of commit 81011d0062 - Show all commits

View file

@ -73,6 +73,7 @@ variable "deploy_environment" {
# initialUser = var.initialUser
# terraform-nixos = var.terraform-nixos
# ssh_private_key_file = var.ssh_private_key_file
# deploy_environment = var.deploy_environment
# }
module "mastodon" {
@ -84,6 +85,7 @@ module "mastodon" {
initialUser = var.initialUser
terraform-nixos = var.terraform-nixos
ssh_private_key_file = var.ssh_private_key_file
deploy_environment = var.deploy_environment
}
module "pixelfed" {
@ -95,6 +97,7 @@ module "pixelfed" {
initialUser = var.initialUser
terraform-nixos = var.terraform-nixos
ssh_private_key_file = var.ssh_private_key_file
deploy_environment = var.deploy_environment
}
module "peertube" {
@ -106,4 +109,5 @@ module "peertube" {
initialUser = var.initialUser
terraform-nixos = var.terraform-nixos
ssh_private_key_file = var.ssh_private_key_file
deploy_environment = var.deploy_environment
}

View file

@ -48,6 +48,7 @@ module "deploy" {
target_user= "root" # FIXME: #24
target_system = local.system
NIX_PATH = "nixpkgs=${local.nixpkgs}:sources=${local.sources}"
deploy_environment = var.deploy_environment
hermetic = true
config_pwd = path.root
config = <<-EOT