{elib, ...}: let inherit (elib) nomadJob ; datacenters = builtins.toJSON [ "do-1" "homelab-1" ]; in { resource."nomad_job"."nfs-controller" = nomadJob { jobspec = ./controller.hcl; vars = { inherit datacenters; }; }; resource."nomad_job"."nfs-node" = nomadJob { jobspec = ./node.hcl; vars = { inherit datacenters; }; }; }