Files
ci-images/img/builder.nix
T

41 lines
529 B
Nix
Raw Normal View History

2025-11-25 22:42:47 -06:00
{
2025-12-29 19:47:30 -06:00
buildah,
2025-11-25 22:42:47 -06:00
git,
2026-01-22 23:52:55 -06:00
lib',
2025-11-25 22:42:47 -06:00
nix,
nix-output-monitor,
2026-01-23 00:13:46 -06:00
nodejs_24,
2025-11-25 22:42:47 -06:00
pkgs,
podman,
2026-01-22 23:52:55 -06:00
writeTextFile,
2025-11-25 22:42:47 -06:00
name,
...
}:
let
policy = (
2026-01-22 23:52:55 -06:00
writeTextFile {
2025-11-25 22:42:47 -06:00
name = "policy.json";
text = ''
{
"default": [{"type": "insecureAcceptAnything"}]
}
'';
destination = "/etc/containers/policy.json";
}
);
in
2026-01-23 17:48:04 -06:00
lib'.mkImage {
2025-11-25 22:42:47 -06:00
name = name "builder";
2026-01-23 17:48:04 -06:00
contents = [
buildah
git
nix
nix-output-monitor
nodejs_24
podman
policy
2026-01-22 23:52:55 -06:00
];
2026-01-23 17:48:04 -06:00
includeNixDB = true;
2026-01-22 23:52:55 -06:00
}