dotfiles/terranix/containers/ingress-blowhole/default.nix
Magic_RB c09fea6f75 Add terranix config for ingress-blowhole container
Signed-off-by: Magic_RB <magic_rb@redalder.org>
2023-06-16 16:11:22 +02:00

22 lines
381 B
Nix

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