mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-26 10:06:13 +01:00
a9c3b31b2c
Signed-off-by: Magic_RB <magic_rb@redalder.org>
18 lines
441 B
Nix
18 lines
441 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}\")}";
|
|
};
|
|
};
|
|
}
|