forked from Fediversity/Fediversity
terraform-nixos #1
1 changed files with 1 additions and 5 deletions
|
@ -86,10 +86,6 @@ locals {
|
|||
}
|
||||
}
|
||||
}
|
||||
applications = { for name, inst in local.application_configs : name => merge(inst, {
|
||||
# depends_on = [for name in local.peripheral_configs : module.deploy[name]]
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
# FIXME settle for pwd when in /nix/store?
|
||||
|
@ -106,7 +102,7 @@ data "external" "hash" {
|
|||
resource "terraform_data" "nixos" {
|
||||
for_each = {for name, inst in merge(
|
||||
local.peripherals,
|
||||
local.applications,
|
||||
local.application_configs,
|
||||
) : name => inst if inst.cfg.enable}
|
||||
|
||||
triggers_replace = [
|
||||
|
|
Loading…
Add table
Reference in a new issue