dotfiles/terranix/containers/ingress-blowhole/default.nix
Magic_RB 0c4f7b971f
Try to get some services to semi wan
Signed-off-by: Magic_RB <magic_rb@redalder.org>
2023-09-03 18:03:08 +02:00

20 lines
539 B
Nix

{ config', 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;
store_path = config'.flake.nixngConfigurations.ingressBlowhole.config.system.build.toplevel;
upstreams = "\${file(\"${./upstreams.conf}\")}";
jellyfin = "\${file(\"${./jellyfin.conf}\")}";
hass = "\${file(\"${./hass.conf}\")}";
};
};
}