{ lib, writeShellApplication, # Dependencies colmena, jq, nvd, ... }: let inherit (lib) mapAttrsToList; scripts = { cache-node = [ colmena ]; check-deployment = [ colmena jq nvd ]; launch-vm = [ colmena ]; list-nodes = [ jq ]; }; in mapAttrsToList ( name: runtimeInputs: writeShellApplication { inherit name runtimeInputs; text = builtins.readFile ./${name}.sh; } ) scripts