Files
ci-images/img/builder.nix
T
Greg Hellings 513cdc70bf
buildbot/nix-eval Build done.
buildbot/nix-build Build done.
buildbot/nix-effects Build done.
Build images / Build (bitwarden) (push) Failing after 15s
Build images / Build (immich) (push) Failing after 40s
Build images / Build (sword-container-builder) (push) Failing after 38s
Build images / Build (builder) (push) Has been cancelled
Build images / Build (vm-test) (push) Has been cancelled
Hopefully streamline it
2026-01-23 18:01:35 -06:00

48 lines
728 B
Nix

{
buildah,
git,
lib',
nix,
nix-output-monitor,
nodejs_24,
podman,
writeTextFile,
name,
...
}:
let
policy = (
writeTextFile {
name = "policy.json";
text = ''
{
"default": [{"type": "insecureAcceptAnything"}]
}
'';
destination = "/etc/containers/policy.json";
}
);
nix-conf = writeTextFile {
name = "nix.conf";
text = ''
extra-experimental-features = nix-command flakes
'';
destination = "/etc/nix/nix.conf";
};
in
lib'.mkImage {
name = name "builder";
contents = lib'.basePackages ++ [
buildah
git
nix
nix-conf
nix-output-monitor
nodejs_24
podman
policy
];
includeNixDB = true;
}