nix/packages/forgejo-actions-container.nix
Daniel Flanagan c87dd65a82
All checks were successful
/ build-host (map[host:beefcake]) (push) Successful in 2m49s
/ build-host (map[host:dragon]) (push) Successful in 46s
/ build-host (map[host:flipflop]) (push) Successful in 35s
/ build-host (map[host:foxtrot]) (push) Successful in 44s
/ build-host (map[host:router]) (push) Successful in 2m40s
/ build-devshell (push) Successful in 27s
/ flake-check (push) Successful in 6m7s
fix: resolve conflicts and set version for CI workflow, add close_surface keybind to ghostty
2025-03-20 12:29:12 -05:00

40 lines
753 B
Nix

{
git,
findutils,
coreutils,
nodejs_23,
nix,
gnugrep,
gawk,
bash,
jq,
dockerTools,
cacert,
}:
let
pname = "forgejo-actions-container";
version = "3";
in
# bootstrap this into the forgejo server with
# $ podman login ${FORGEJO_ENDPOINT:-git.lyte.dev}
# $ podman image load -i (nix build .#forgejo-actions-container --print-out-paths)
# $ podman push git.lyte.dev/lytedev/nix:forgejo-actions-container-v$IMAGE_VERSION-nix-v$NIX_VERSION
dockerTools.buildLayeredImage {
name = "git.lyte.dev/lytedev/nix";
tag = "${pname}-v${version}-nix-v${nix.version}";
config = {
Cmd = [ "/bin/nix" ];
};
contents = [
nix
gnugrep
gawk
bash
jq
findutils
nodejs_23
coreutils
cacert
git
];
}