mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-27 18:46:13 +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"
|
||
|
];
|
||
|
};
|
||
|
};
|
||
|
}
|