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