dotfiles/terranix/containers/ingress-blowhole/default.nix
Magic_RB ef62e6cc67
Unhardcode empty flake_ref and friends
Signed-off-by: Magic_RB <magic_rb@redalder.org>
2023-06-19 00:42:40 +02:00

17 lines
333 B
Nix

{ 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}\")}";
};
};
}