{ elib, vars, ... }: let inherit (elib) nomadJob; in { resource."nomad_job"."ingress" = nomadJob { jobspec = ./job.hcl; vars = { flake_ref = "${vars.flake_host}?rev=${vars.flake_rev}&ref=${vars.flake_ref}"; flake_sha = vars.flake_sha; upstreams = "\${file(\"${./upstreams.conf}\")}"; }; }; }