2024-11-14 22:18:40 +01:00
|
|
|
{ pkgs }:
|
2023-07-21 00:37:05 +02:00
|
|
|
|
|
|
|
let
|
2024-11-14 22:18:40 +01:00
|
|
|
inherit (pkgs.lib) mapAttrs;
|
|
|
|
|
|
|
|
inherit (pkgs)
|
|
|
|
writeShellApplication
|
|
|
|
colmena
|
|
|
|
jq
|
|
|
|
nvd
|
|
|
|
;
|
2024-11-14 22:01:58 +01:00
|
|
|
|
|
|
|
scripts = {
|
|
|
|
cache-node = [ colmena ];
|
|
|
|
check-deployment = [
|
2023-07-21 00:37:05 +02:00
|
|
|
colmena
|
2024-02-02 10:51:31 +01:00
|
|
|
jq
|
2024-11-14 22:01:58 +01:00
|
|
|
nvd
|
|
|
|
];
|
|
|
|
launch-vm = [ colmena ];
|
|
|
|
list-nodes = [ jq ];
|
2023-07-21 00:37:05 +02:00
|
|
|
};
|
|
|
|
in
|
|
|
|
|
2024-11-14 22:18:40 +01:00
|
|
|
mapAttrs (
|
2024-11-14 22:01:58 +01:00
|
|
|
name: runtimeInputs:
|
|
|
|
writeShellApplication {
|
|
|
|
inherit name runtimeInputs;
|
|
|
|
|
|
|
|
text = builtins.readFile ./${name}.sh;
|
|
|
|
}
|
|
|
|
) scripts
|