mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-27 10:36:12 +01:00
86d13b4f40
Signed-off-by: Magic_RB <magic_rb@redalder.org>
17 lines
234 B
Nix
17 lines
234 B
Nix
{ elib, ... }:
|
|
let
|
|
inherit (elib)
|
|
nomadJob;
|
|
in
|
|
{
|
|
resource."nomad_job"."mesh" = nomadJob {
|
|
jobspec = ./job.hcl;
|
|
vars = {
|
|
"datacenters" = builtins.toJSON [
|
|
"do-1"
|
|
"homelab-1"
|
|
];
|
|
};
|
|
};
|
|
}
|