Repository

atmask/containix

Containix

A containerd shim that runs Nix flakes directly on Kubernetes — no container images required

42stars

Open github.com

atmask/containix

Containix

A containerd shim that runs Nix flakes directly as Kubernetes pods without building OCI images.

Visit project

Show me a random project

First shared
Jul 12, 2026
HN activity
40

Show HN@atmaskJul 12, 2026

Show HN: Containix – Run Nix flakes as Kubernetes pods without images

Containix is a containerd shim that runs Nix flakes directly as Kubernetes pods. When using containix you can reference a flake in a pod annotation (`containix.dev/flake: flake ref `) instead of building, pushing, and pulling an OCI image. CRI still depends on the presence of a valid image so a small 1KB image is provided (`ghcr.io/atmask/containix-empty`) for compatibility but is ignored. Containix bypasses the usual image process of building, pushing, and pulling entirely — the shim resolves the flake, fetches the closure from your binary cache, mounts the Nix store paths as the container's rootfs, and hands off to runc. There is still some work I would like to do on the project to improve quality of life around running it and ensuring nodes have nix installed (e.g. daemonset installation, operator) but in the meantime I'd love feedback. Repo: https://github.com/atmask/containix Kubernetes guide: https://github.com/atmask/containix/blob/main/docs/kubernete...

Community

Hacker News discussion

Loading the thread…