mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-30 20:16:17 +01:00
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"
|
||
|
];
|
||
|
};
|
||
|
};
|
||
|
}
|