dotfiles/terranix/lib/nomad_job.nix
magic_rb aff0158ef7
Reformat the whole flake using alejandra
Signed-off-by: magic_rb <magic_rb@redalder.org>
2024-03-02 22:17:03 +01:00

13 lines
192 B
Nix

{}: {
jobspec,
vars ? {},
...
} @ args:
{
jobspec = "\${file(\"${jobspec}\")}";
hcl2 = {
enabled = true;
inherit vars;
};
}
// builtins.removeAttrs args ["jobspec" "vars"]