mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-12-01 20:46:12 +01:00
64f95150e1
This reverts commit 0d4698ab78
.
16 lines
297 B
Nix
16 lines
297 B
Nix
{ pkgs, elib, vars, ... }:
|
|
let
|
|
inherit (elib)
|
|
nfsVolume
|
|
nomadJob;
|
|
in
|
|
{
|
|
resource."nomad_job"."website" = nomadJob {
|
|
jobspec = ./job.hcl;
|
|
vars = {
|
|
flake_ref = "${vars.flake_host}?rev=${vars.flake_rev}&ref=${vars.flake_ref}";
|
|
flake_sha = vars.flake_sha;
|
|
};
|
|
};
|
|
}
|