mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-29 11:36:16 +01:00
13b14f7025
Signed-off-by: Magic_RB <magic_rb@redalder.org>
13 lines
188 B
Nix
13 lines
188 B
Nix
{}:
|
|
{ jobspec
|
|
, vars ? {}
|
|
, ...
|
|
}@args:
|
|
{
|
|
jobspec = "\${file(\"${jobspec}\")}";
|
|
hcl2 = {
|
|
enabled = true;
|
|
inherit vars;
|
|
};
|
|
} // builtins.removeAttrs args [ "jobspec" "vars" ]
|